Ok,

first, you should use METHOD="post" in your form. instead of the default 
value "get",
and in the action template, look for values in the form scope instead of 
url.

Another problem I see:
If I understand well, you are checking that any required select area has not
its selectedIndex==0
but selectedIndex == 0 means the first element is selected.
If no element is selected, you will have selectedIndex < 0;

Thus, your code actually lets unselected select area pass the test.
In this case, the name of the field is not passed to the action 
template, either in GET or in POST mode.

-- 
_______________________________________
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/Javascript/message.cfm/messageid:4813
Subscription: http://www.houseoffusion.com/groups/Javascript/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.33

Reply via email to