A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Jul 08, 2005
Sep 21, 2006 14:45:00
Facility: <html:select property="facility"
name="facilityForm" size="1" onchange="submitF()">
Hi I have a form conatining values which is submitting
though above script.
Now I have put a default value as "state"
when user select any other value excpet default then
corrosponding page is displayed but if user choose default
value there is error obviously.
I simply want that if user select default value "state"
nothing should be submitted.
please be specific if anyhting need to be chnaged in
Joined: Nov 08, 2001
Sep 21, 2006 16:12:00
well you should probably have an option that says: "Pick something" if you are not going to have a button that allows them to pick it. Could use onblur, but that is rather a bad fix for the design.
I agree. Here's the link:
subject: submission problem
value submit html:select
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015