Appnitro Software Forums » MachForm

JavaScript Function On Submit?

(4 posts)

  1. KnockOuts
    Member

    Hi,

    I have a form that is embed in a hidden panel that is activated with a trigger- I'd like to add an event to a form that is in the sliding panel that closes the panel on delay after the form is submitted.

    So, when the user submits the form and is successful- the panel slides close after showing the success message for a second.

    Thanks

    Posted 2 years ago #
  2. Hmm.. I think you can insert your javascript code into your form success message. It accepts any valid HTML or javascript code.

    Or you can also redirect your form success page into your custom page, then put your javascript code into your custom page.

    Posted 2 years ago #
  3. KnockOuts
    Member

    I can't get the Javascript to fire from the success message. I've tried multiple ways- the action needs to happen directly on the page, not on a new page.

    Thanks

    Posted 2 years ago #
  4. Can you let me know the URL to your form so I can check your javascript?

    Posted 2 years ago #

RSS feed for this topic

Reply

You must log in to post.