Results 1 to 4 of 4
Feb 11, 2002, 15:01 #1
how do I lock a value inot a an input form
so i predetermine a value and I don't want a user to change it, any ideas?
Feb 11, 2002, 15:09 #2
- Join Date
- Jun 2001
- rollin' on dubs
- 0 Post(s)
- 0 Thread(s)
Feb 11, 2002, 18:27 #3
If it's predetermined, why do you want it in an input field?
Like dethfire said you can have it hidden
<input type="hidden" name="value name" value="your value">
If you mean that you want to handle a user input which then locks you can do this by using a script to set any form field as 'read only'.
It is different from 'disabling' as disabling turns the field 'gray'.
If you just want to do the first option check here.
Feb 11, 2002, 19:19 #4
ok, i don't want to hide it, i want people to know it's there and what value it is, i will try your suggestions.