Reset the form when used for other option
-
Hello Jules,
First of all, what a great plugin you have here! Honored+
Now to my issue; lets say I rent hotelrooms in England
Then someone can click on:
Dropdown menu: Hotel or Motel
When menu is equal to Hotel then show
One more dropdown menu:
Hotel in: Londen, Bristol, BathWhen chosen Londen
I want to show them the hotels in a dropdown menu
Lets call them: Hotel A and Hotel BSo for the administration: I have given answer to:
Hotel
Londen
Hotel Abut the weird part is, when I make change ‘Hotel’ (in the first menu) to Motel; the 2nd dropdown goes away but the 3rd doesn’t. The reason is because the 2nd menu is still on ‘londen’.
So it looks like:
Motel
Hotel A
I think its very easy to fix by resetting the value whenever it isnt selected. This makes the other ‘options’ go away.
I hope you get what I mean. If not I can paste my big ass code here ??
Thank you in advance!
HDeniz
- The topic ‘Reset the form when used for other option’ is closed to new replies.