hi there....
i want to create a timer on clint end for one to 20 minutes and 2nd thing i want is to disable pasting something in text field:
can i do that using php?
Regards!
how to disable fields
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
1. that's Javascript, not PHP. Hint: setTimeout()
2. if you want to disable a field entirely from being typed in (at all) ..
...and check your private messages.
2. if you want to disable a field entirely from being typed in (at all) ..
Code: Select all
<input type="text" name="hi" value="I am read-only" disabled="disabled" />...and check your private messages.