Results 1 to 2 of 2
February 6th, 2003, 04:47 PM #1
- Join Date
- January 18th, 2005
I am working on a particular form on my site. I have forms down fairly well, but there is one thing I'm not clear on how to do.
Typically on a form, the user enters information thus filling out the form. One of the fields I need to be pre-filled and cannot be changed by the visitor. I do need that information passed along with the form, even though the user cannot change or edit the field. For clarification, here is an example.
Form #1 will have information based on a particluar product. The form would be something like
Product Name: Product A (this value should not be editable by the customer)
Product Name: Product B (again, cannot be changed)
I know I can drop that field from the form and just have it as regular text, but how can I then pass that value with the rest.
I'm sure it is done with a hidden value but I do not know the proper syntax to do that.
February 6th, 2003, 08:25 PM #2
Make it a hidden field.
<input type='hidden' name='bla' value='whatever'>
The user can not see it and it gets passed, when the form gets submitted.
Sign-up for our Affiliate Program
If you can't move things, try harder!
By dMahoney in forum Programming / Datafeeds / ToolsReplies: 3Last Post: March 22nd, 2011, 11:07 PM
By Eric Ewe in forum Programming / Datafeeds / ToolsReplies: 1Last Post: May 21st, 2010, 12:46 AM
By CoolAffiliate in forum Programming / Datafeeds / ToolsReplies: 0Last Post: February 24th, 2007, 12:34 PM
By thealarmtech in forum WebMerge (Fourthworld.com)Replies: 2Last Post: March 16th, 2006, 04:19 PM
By bghtn in forum Programming / Datafeeds / ToolsReplies: 0Last Post: January 3rd, 2003, 05:00 PM