dropdown event for dropdown menu

Huonker 29 Dec, 2015
Hello
I created a drop down menu which makes appear datepickers when you choose the corresponding value. I tried to apply this technic for hiding/showing drop down menues which only would appear depending on value which has been chosen from the upper dropdown menu.
Somehow it does not work.
Following syntax I used in the event tab of dropdown ID1:
=, value1, show parent, dropdown ID2
!=, value1, hide parent, dropdown ID2

Is this basically correct?

Thank you
Best regards

Peter
GreyHead 30 Dec, 2015
Hi Peter,

Yes.

Bob
Huonker 30 Dec, 2015
Hi Bob
thank you
I was verifying again teh syntax, but it is still not working. Is it possible that it is not working because this second dropdown is also regulating a datepicker field
My structure is as followed:
dropdown 1 should regulate dropdown 2 (currently not working)
Dropdown 2 is regulating a datepicker (this is working)
Attached is the event tab from dropdown 1
Beside this question, I wanted to ask, if I simply could add the validation and an also server validation on fields which might appear or not (depending on the dropdown choice) Or must this be programmed within the servervalidation event?
Thank you very much
Best regards

Peter
Huonker 30 Dec, 2015
Just as a sideremark
The action for != is hide parent (I just upploded an older version), but it is still not working...
Thank you
GreyHead 30 Dec, 2015
Hi Peter,

If you are hiding and showing a drop-down that is used to hide/show another drop-down then it may be too complex for the built-in code to handle correctly. I don't think I've tried that particular combination with the event handler.

It shouldn't be too hard to do with custom JavaScript though.

Bob
Huonker 31 Dec, 2015
Answer
Hi Bob
I could resolve the problem. As I imported some elements from V4 the first dropdown was from V4 and the second dropdown form V5. It seems that they did not like each other. Taking both elements from V5 the boxing system work perfectly.
Thank you form your help.
I will come back, when I will have some questions regarding the validation (onsite and server:) )
Peter
This topic is locked and no more replies can be posted.