This topic is locked

Readonly/write dependent on date

3/27/2010 4:25:39 AM
PHPRunner General questions
W
wrjost author

Hi, maybe someone has a clever idea for my problem:
I'm doing a team registration database where teams have to enter a "reference time". They can edit it as often as they please UNTIL the deadline. When that has passed, the time must be readonly.
I have been experimenting with two fields, "ref_time" and "ref_time_readonly" and displaying them dependent from the value of "deadline" - but to no avail.
Any suggestions are welcome... ;-)))
Greetings,

Wilfried

J
Jane 4/2/2010

Wilfried,
use custom javaScript code to check current date and set up these fields as disabled.