PDA

View Full Version : fields


micosol
07-27-2001, 09:04 AM
Can i set a drop-down field to cancel the completion of a form if someone selects no?

example:

select yes and the form is filled out normally and emailed on submit,
select no and the browser redirects the user to a different page and the email is not processed

scoutt
07-27-2001, 02:39 PM
should be pretty easy. what scripting are you using, if any:? you could only do that in cgi/perl or php or asp

kevin
07-27-2001, 03:00 PM
If you wanted to do that before processing then you can try JAVA script. Just keep in mind, anything you want to do before processing a form server side needs to use a client side script, JAVA or VBS, you can't do it with just HTML code, and I don't know about using iHTML for client side.

Kevin

Dr. Web
07-28-2001, 12:04 AM
yes, you could achieve it with JS. You could also make all the form fields disabled until the surfer selects 'yes' as the option.

Let me know if you need some guidance on this.