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:
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.
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.
Replied 05 May 2024 16:06:02
05 May 2024 16:06:02 jesi geo replied:
Clearing and hiding a form after submission enhances user experience. Use JavaScript to reset form fields and set the form's display property to "none" upon image clipping services submission. Additionally, consider displaying a confirmation message to acknowledge successful submission. This approach streamlines the interface and guides users seamlessly through the process.