Skip to main content

Hi All,


 


I have created a form with a drop down options containing (1, 2, 3, 4 and 5) and based on this, a custom 'repeating section' appears, e.g. the user has to fill in details of their devices, if they select 1, one panel appears, if 2, 2 identical panels appears, 3 - 3 panels etc. 


 


I have this working perfect, except when I pick 3 or 4, 4 panels appear, and I cant see what I'm doing wrong. I've attached screenshots of rules for 3 and 4, Rules are definitely applying to the right panels and only those panels, I figure it must be something I'm doing wrong in rule: Dictaphone 4. Any help will be much appreciated, thank you!


9706i8B7006D5C7ADA7D7.jpg9707i5592E5EE87DA1A1B.jpg

@gpw91 With dropdowns, I try to use "And" or "contains" instead of "or"
and(Numberofdictaphones== '1' , Numberofdictaphones== '2',isNullOrEmpty({Self}))

and(contains(Numberofdictaphones, "1"), contains(Numberofdictaphones, "2"))

if it doesn't work - I would say check the dropdown values, sometimes it doesn't actually have the value "1" - it may look something more like 1;item. To check this add a calculated value control to your form and preview and see what values you get. You can also use parselookup to get the correct value in the rule.


Thank you, adjusting to this worked perfect! 🙂


Reply