Alex & Alex, you can write a function,like that. if(validation is success) addMember(); else alert("invalid input!!!");
Peace, Dreamer [EMAIL PROTECTED] 2006-04-01 ======= 2006-04-01 18:32:22 :======= > >Hello, > >In a signup form, when I click the submit button I would like for all >the validation to happen and then actually hit the addMember() >function. > >But if a form fails the validation how can I prevent the execution of >addMember(). > >Thanks, >Alexander > > > > > >-- >Flexcoders Mailing List >FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt >Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com >Yahoo! Groups Links > > > > > > > = = = = = = = = = = = = = = = = = = = = -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/