>>No, but it's a little ambiguous, since your event handler calls the 
submit
method if I read the thread accurately.

No, it doesn't. If the onClick event returns false, the click on the 
submit button is cancelled,
then ther is no submit, if it returns true, the submit proceeds 
normally. I don't call submit().

For instance, I have forms to edit some items.
Two submit buttons, one to confirm, this one calls the validation 
function, the other one to delete the item,
and this one of course needs no validation. The purpose of this 
procedure is to force users
to see what they want to delete before they delete it.

The only problem is when a user press the Return key, which would 
normally trigger the submit
without calling the validation function.
But I had to inhibit the return key on any field except text areas 
anyway, because I
have some users moron enough to press Return in text fields because they 
want to have several lines ;-)

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


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280185
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to