Disable a text field using php
How to disable a text box in a form using php.
i.e., I want the displayed item in the textbox to be a read only.... Is dat possible?
Veselin
2008-05-05 18:01:37
Re:
to make a field read only you can use
<input type="text" readonly="readonly" />
I am not sure what you mean saying that you want to make it using PHP. Can you please explain how you expect it to work
Nandhu
2008-05-06 09:20:31
Re:
I want to disable a text field.... not necessarily using php...
I used the following code but its not working...
<input type=text onfocus=disable()>
Veselin Stoilov
2008-05-06 10:55:06
Re:
you can use the code in my previous post to make a form field read only