DMXzone Mailer Support Product Page

Answered

How to clear and hide the form after submission.

Asked 08 Jun 2016 22:36:00
1
has this question
08 Jun 2016 22:36:00 Ben Pleysier posted:
Using Mailer for my contact form. How to clear and hide the form after submission.

Replies

Replied 09 Jun 2016 06:48:30
09 Jun 2016 06:48:30 Teodor Kuduschiev replied:
Hello Ben,
On success event of your server action executor, just add custom code and add:

document.getElementById("myForm").reset();

where myForm is the ID of your form.

As for hiding it - just use the change properties behavior again on success, and hide the form/container.
Replied 13 Jun 2016 02:53:08
13 Jun 2016 02:53:08 Ben Pleysier replied:
Thanks Teodor, makes sense.

Reply to this topic