how to check completeness of a form
andrew cooke
andrew at acooke.org
Sun May 4 17:52:20 EDT 2003
i'm not sure why you're asking this on a python group (unless you're using
python inside mozilla, i guess). sounds like you need to use javascript.
then you'd make sure that clicking the submit button called a function
that verified the fields (accessing via their dom names) and then
returning true (if they were ok).
andrew
Psybar Phreak said:
> say i have three form elements on a web page (say fnameField, lnameField
> and
> email) - how do i loop through each field checking if its complete and
> only
> when it is, let the rest of the script process
>
> thanks
>
> daina
>
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>
--
http://www.acooke.org/andrew
More information about the Python-list
mailing list