What's the if statement (ASP)?

Gemma

New member
I have a form written in HTML and have 2 dropdown boxes (Block and Area).

I want to make it so, depending on what is selected in the Block dropdown box, different values will show in the Area dropdown box.
For example, if the user selects "Main Reception" in the Block dropdown box, I only want the Area dropdown box to show "Kitchen" and "Resturant", whereas, if the user selects "Ward 1" in the Block dropdown box, I only want the Area dropdown box to show "Beds" and "Nursing Stations".

What's the if statement to do this?
 
Back
Top