Re: Retrive a ID or Class value from a form input field

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Joe Harman wrote:
I was just writing a form validation script... I know that there is
ton of them out there... and i know that there are some different
methods of doing it... but i want to assign class names to each field
like class="req:email"... not sure if that is the right way to do it,
but i thought it would make thing neat and tidy

And these class names could be used on the server for … what? Hopefully, you're not relying on GET and POST requests from (intrinsically untrustworthy) clients to know what data type input should be, as that would be intrinsically insecure.

--
Benjamin Hawkes-Lewis




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux