I have a javascript (jQuery plug-in) form validator that prevents the form from 
submitting by returning false if the fields don't validate. Occasionally while 
updating the plug-in (or other code in an application that uses it), a sub 
function within the plug-in returns true, which passes back out to the parent 
and incorrectly allows forms to submit. Would it be considered a good 
programming practice to assign the results of all functions within the plug-in 
to a variable so that this doesn't happen?

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to