This topic is locked

Add ID to input fields

11/3/2008 3:39:09 PM
PHPRunner General questions
C
Christopher author

I need every INPUT field to have a unique id that is automatically generated. As an example, on my user sign up page, right now I get this:

<input type="text" value="" name="value_first_name"/>


I need to get this

<input type="text" value="" name="value_first_name" id="someidhere"/>


Is there anything simple I can do to make this happen? If not, and I have to edit commonfunctions, can I do that globally so it happens automatically to all files created going forward? In this case I need unique ids for custom validation, but this would also come in extremely handy for CSS hooks, etc.
Thanks much in advance.

J
Jane 11/5/2008

answered in your personal email.