Solved

Need help with creating dynamic fields based off a drop down

  • 2 February 2022
  • 1 reply
  • 3 views

I have a field titled "What groups need to be added?" In this drop down their are 3 selections:

  • GXSPRBIND CEG
  • Segment ZBOR or ALT CEGs
  • Both

 

  • If "GXSPRBIND CEG" is selected, I want to show the field "Overall SPRB Indirect Rates reporting CEG" and Hide "Provide segment CEG Group"
  • If "Segment ZBOR or ALT CEGs" is selected, I want to show the field "Provide segment CEG group" and Hide "Overall SPRB Indirect Rates reporting CEG"
  • If "Both" is selected, I want to show both fields

 

I think i can do this with a rule but the way i have it currently formulated is not working. 

icon

Best answer by Aleximo 3 February 2022, 09:08

View original

1 reply

Badge +8

hey @Brook0131 ,


 


u have to add a rule to the fields u wanna hide:


 



here u have to enter following rule (Ausblenden = hide):


 



 


OR(URMAINDROPDOWN == "", URMAINDROPDOWN == "Segment ZBOR or ALT CEGs")


 


that means if ur dropdown is empty or has the value "Segment ZBOR or ALT CEGs" then hide the field.


 


now u have to give ur second field the same rule but with the other value:


 



 


OR(URMAINDROPDOWN == "", URMAINDROPDOWN == "GXSPRBIND CEG")


 

Reply