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

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

 



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:
>  <input name="email" type="text" id="email" size="30" maxlength="120"
> class="theClass" value="" />

<input type="hidden" name="email__config"
value="name=email,type=text,id=email,size=30,maxlength=120,class=theClass" />

Alternatively fill the value of the hidden field using JavaScript at
submission time. Of course... that only works when JavaScript is
enabled.

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


-- 
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