Gossamer Forum
Home : General : Perl Programming :

form input variations

Quote Reply
form input variations
I am getting mixed up on what different arangements in input syntax means, could somebody straighten me out? Here are the examples to define, this first set is from the DBman templates record_form.html:
<input type=text name="ID" size="5" maxlength="8">

<input type="text" name="Title" <%Title%> size="40" maxlength="75">

<input type=text name="Hits" value="" size="10" maxlength="10">

------------
This is from add_form.html, and the action is a "post"
<input type="Hidden" name="Date" value="<%Date%>">

Thank you


Quote Reply
Re: form input variations In reply to
Okay...What you need to use is the following:

Code:
<input type="hidden" name="ID"> value="<%ID%>">

Then for the other input fields:

Code:
<input type="text" name="Title" value="<%Title%>" size="40" maxlength="75">

AND

Code:
<input type="text" name="Hits" value="<%Hits%>" size="10" maxlength="10">

BTW: This should really be posted in the DBMAN Discussion Forum.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums