Forums
This topic is locked
Form submit with validation and a new window
Posted 28 Sep 2006 22:43:33
1
has voted
28 Sep 2006 22:43:33 Bill Galloway posted:
Hi, I'm a beginner-level user on Dreamweaver MX 6.1 with Windows XP.I'm creating a survey, and I've figured out how to create an error message if my three required fields aren't filled out.
What I'd like to do is have a "thanks for your help!" window come up, but only if the validation succeeds.
How can I do this? Is there a way to have the Open Window behaviour conditional on the validation?
Thanks for any help you can provide.
Replies
Replied 29 Sep 2006 12:19:41
29 Sep 2006 12:19:41 Vince Baker replied:
I assume that you have the validation working on an onSubmit command? if the onSubmit = true then you could add an alert("Thanks for your input!" message? THis would show up as a small windows dialog message that they can simply click ok to remove.
Regards
Vince Baker
<strong>DMX Zone Manager</strong>
[VBScript | ASP | HTML | CSS | SQL | Oracle | AS400 | ERP Logic | Hosting]
Regards
Vince Baker
<strong>DMX Zone Manager</strong>
[VBScript | ASP | HTML | CSS | SQL | Oracle | AS400 | ERP Logic | Hosting]
Replied 29 Sep 2006 16:03:17
29 Sep 2006 16:03:17 Bill Galloway replied:
Thanks muchly!
I'll do that right away!
Er, sorry. I mean, I'll <i>implement</i> that <i>procedure</i> with <i>all due haste</i>.
/Still learning the lingo. <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
I'll do that right away!
Er, sorry. I mean, I'll <i>implement</i> that <i>procedure</i> with <i>all due haste</i>.
/Still learning the lingo. <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>