PDA

View Full Version : Script Modify


stevan
01-14-2005, 09:57 PM
I am using this script for a sign up tp my news letter I want to make where it says input type="text" name="name" I want to hide that so it does not show But the script needs something there to send So how can I hide that line BUT have it send a name without it showing on the input form The script will allow the name to be the same only the eamil adress has to be different

THXS Steve



<tr>
<td width="62" class="text">Name:</td>
<td width="144"><input type="text" name="name"></td>
</tr>
<tr>
<td><span class="text">E-Mail Address</span>:</td>
<td><input type="text" name="email"></td>
</tr>
<td height="27" colspan=2> <div align="center">
<input name="Submit" type="image" src="subscribe.gif" width="100"
height="25" border="0">
</div></td>
</tr>
</table></td>
</tr>
</table>
</form>

anarchy3200
01-14-2005, 10:57 PM
Then just make the name a hidden field with a preset value:

<input type="hidden" name="name" value="name">
<tr>
<td><span class="text">E-Mail Address</span>:</td>
<td><input type="text" name="email"></td>
</tr>
<td height="27" colspan=2> <div align="center">
<input name="Submit" type="image" src="subscribe.gif" width="100"
height="25" border="0">
</div></td>
</tr>
</table></td>
</tr>
</table>
</form>

that will just set the value of name to 'name' without showing that input box.