gnanesh
05-01-2003, 06:02 AM
Hi
I have two fields
<input type=text name="text1" value=""> -- which is an Date field
<select name="select1">
<option value="connected">connected
<option value="not selected">not selected
<option value="open">open
</select>
Now if i enter the date in the text(text1) field the drop down should be set to "connected" option, and i also need to show all other options in the select drop down, but default should be "connected"
Then if there is no value in the text(text1) field , the user should not able to change the option to "connected", but they can select other options like "not selected" , " open"
If any one knows about this, i appreciate if you could post the code here
thanks
gnanesh
I have two fields
<input type=text name="text1" value=""> -- which is an Date field
<select name="select1">
<option value="connected">connected
<option value="not selected">not selected
<option value="open">open
</select>
Now if i enter the date in the text(text1) field the drop down should be set to "connected" option, and i also need to show all other options in the select drop down, but default should be "connected"
Then if there is no value in the text(text1) field , the user should not able to change the option to "connected", but they can select other options like "not selected" , " open"
If any one knows about this, i appreciate if you could post the code here
thanks
gnanesh