Notification after sent the form

Issues related to forms.
Post Reply
mckonen
 
 
Posts: 17
Joined: Sun Mar 20, 2016 6:59 pm

Notification after sent the form

Post by mckonen » Sun Oct 15, 2017 8:13 pm

Hi, I'd like to add some notification after feedback form (not want to add "thanks"web page), l added modal layer to appear after push to sent button, but this disables the form, so not good, is there some trick for that?

br, Sami

User avatar
Pablo
 
Posts: 20138
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Notification after sent the form

Post by Pablo » Sun Oct 15, 2017 8:45 pm

Maybe this is helpful?
viewtopic.php?f=10&t=37833

mckonen
 
 
Posts: 17
Joined: Sun Mar 20, 2016 6:59 pm

Re: Notification after sent the form

Post by mckonen » Mon Oct 16, 2017 8:47 pm

Yes this works!
Is there other trick to clear the form data after closing the notification window?

User avatar
Pablo
 
Posts: 20138
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Notification after sent the form

Post by Pablo » Tue Oct 17, 2017 6:54 am

Maybe you can reload the page?

mckonen
 
 
Posts: 17
Joined: Sun Mar 20, 2016 6:59 pm

Re: Notification after sent the form

Post by mckonen » Tue Oct 17, 2017 7:24 pm

Yes with the short script (<input type="reset" value="Reset Form">) resets the form (without reset button), but it disables the other functions, so noticed that easiest is to link back to the page after closing the notification windows (internal page link onclick), Maybe this "clear datas" would be good to add as a basic optional for layer...

User avatar
Biju
 
 
Posts: 357
Joined: Thu Mar 10, 2016 7:02 pm
Location: Kerala, INDIA.

Re: Notification after sent the form

Post by Biju » Wed Oct 18, 2017 9:23 am

Just copy and paste the following script to your button's 'onclick event' and see it is working or not:

Code: Select all

document.Form1.reset();return true;
Note: Replace "Form1" with your form name.

Image
~ Remain Curious
and Keep Learning ~

_________________

mckonen
 
 
Posts: 17
Joined: Sun Mar 20, 2016 6:59 pm

Re: Notification after sent the form

Post by mckonen » Wed Oct 18, 2017 4:25 pm

Hi, Yes this works, thanks!

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest