Hi,
I need help with the following if possible??
I have a form that has several fields in it, both text fields and hidden fields that are passed to a CGI program. I have some random text displayed on the form based on the date and time and that works fine.
I would like to disable at least one of the hidden fields using the date and time function so that say after 17:00 the field is disabled but after 09:00 it is enabled. As I say the time side is OK but I have no idea what code I should use to disable the hidden field. Do I insert the HTML into the javascript function or what? And if so how? Any ideas and help would be much appreciated!
Scott.
I need help with the following if possible??
I have a form that has several fields in it, both text fields and hidden fields that are passed to a CGI program. I have some random text displayed on the form based on the date and time and that works fine.
I would like to disable at least one of the hidden fields using the date and time function so that say after 17:00 the field is disabled but after 09:00 it is enabled. As I say the time side is OK but I have no idea what code I should use to disable the hidden field. Do I insert the HTML into the javascript function or what? And if so how? Any ideas and help would be much appreciated!
Scott.