Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Text Box Very Basic Question

Status
Not open for further replies.

ice78991

Programmer
Nov 20, 2006
216
For some reason the following textbox seems to send the value 0 whatever I enter into it. Is there an error in this code?

<input type="text" name="SKUName_advs" maxlength="100" style="width:150">&nbsp;

also tried

<cfinput type="text" name="SKUName_advs" maxlength="100" label="Keyword(s):" required="no" validate="noblanks" message="Keywords" style="width:150">&nbsp;
 
No I don't see anything wrong. I would look at your update query.
 
Did you do a <cfdump> of the field to see what's happening in the back-end? What does the SQL look like? What does the code on the action page look like?



____________________________________
Just Imagine.
 

This should set the first value to 0.

<cfparam default="" name="form.SKUName_advs">

<input type="text" name="SKUName_advs" value="#form.SKUName_advs#" maxlength="100" style="width:150">

would have to see the insert part to tell you why 0 shows up.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top