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

2008-06-09 Thread Jim Lucas
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

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

2008-06-09 Thread Benjamin Hawkes-Lewis
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

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

2008-06-09 Thread Joe Harman
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 ma

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

2008-06-09 Thread Jim Lucas
Jim Lucas wrote: Jim Lucas wrote: Joe Harman wrote: Hello, is there any way to get more field information other than just the value of a field when a form is submitted??? ex: type, size, class, etc. Thanks Joe Yes, but that would be a Javascript question. Google for a javascript metho

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

2008-06-09 Thread Robert Cummings
On Mon, 2008-06-09 at 14:45 -0500, Joe Harman wrote: > Hello, > > is there any way to get more field information other than just the > value of a field when a form is submitted??? > > ex: > class="theClass" value="" /> Alternatively fill the value of the hidden field using JavaScript at subm

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

2008-06-09 Thread Jim Lucas
Jim Lucas wrote: Joe Harman wrote: Hello, is there any way to get more field information other than just the value of a field when a form is submitted??? ex: type, size, class, etc. Thanks Joe Yes, but that would be a Javascript question. Google for a javascript method called getAttrib

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

2008-06-09 Thread Jim Lucas
Joe Harman wrote: Hello, is there any way to get more field information other than just the value of a field when a form is submitted??? ex: type, size, class, etc. Thanks Joe Yes, but that would be a Javascript question. Google for a javascript method called getAttribute() -- Jim Luca

[PHP] Retrive a ID or Class value from a form input field

2008-06-09 Thread Joe Harman
Hello, is there any way to get more field information other than just the value of a field when a form is submitted??? ex: type, size, class, etc. Thanks Joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php