cosmic_bird — 2011-04-12T14:11:10-04:00 — #1
Hi, I'm trying to make a textbox invisible originally.......
<td><input type="hidden" name="price" id="price"/></td>
and then visible on a submission......
However it doesn't work.
I can however do the opposite. Any ideas?
davemaxwell — 2011-04-12T15:26:24-04:00 — #2
That's because there is displaying of hidden fields. What you can do alternatively is using something like:
<td><input type="text" name="price" id="price" style="display:none" /></td>
Note - this is a quick example. The display:none should really be in a class with the class assigned to the field instead of styled inline like this.