hi..i am trying to create this form in which there are two fields that i am having troubloe with. what i am trying to do is that as soon as a user changes the value of one field,the value of the second field should be cleared.
I hav a date field and a time field. Originally the date field is set to current date, and time field is set to 'ASAP'. Now, as soon as a user changes the date to a different date, then the time field show get rid of the 'ASAP' value and show a blank value. In order to do this i used this code:
<input type ="text" name ="time" id = "Text3" value = " <% =distTime%> " />
<input type ="text" readonly name = "dateTextField" id = "textField" value = " <% =distDate %> " onchange="form.newRequestForm.time.value == '';" />
I hav a date field and a time field. Originally the date field is set to current date, and time field is set to 'ASAP'. Now, as soon as a user changes the date to a different date, then the time field show get rid of the 'ASAP' value and show a blank value. In order to do this i used this code:
<input type ="text" name ="time" id = "Text3" value = " <% =distTime%> " />
<input type ="text" readonly name = "dateTextField" id = "textField" value = " <% =distDate %> " onchange="form.newRequestForm.time.value == '';" />