Skip to Content
0
Former Member
Jan 05, 2006 at 10:09 AM

enabling or disabling an input field based on a dropdown box selection

1284 Views

hi

I am having a form in which I have a drop down box and an input field.

Based on the value selected from the dropdown the input fiels should be displayed.I have three options in the drop down.

No Search

Order Number

PO Search

Now if I select No search then the input field should be disabled, and on selecting either Order Number or Po number the input field should be enabled.

More over after selecting the Order Number and if the input field is left blank then a message should pop up saying "Order Number required"

the same is the case with the PO NUmber.

Can anybody help me in this issue.

thanks and regards

gopi krishna