Hi All,
I've recently had wierd behaviour with a not(contains rule to filter drop-downs. Ordinarily it works fine, but I'll save the form, then open it some time later and it has split the rules to all the my:field1 in one rule and all the my:field2 in another rule. So, I'm left with Rule1 and Rule2 with mixed results.
I'm fairly sure it's possible, but how do I concat all my:field1 or my:field2?
Expression used is:
not(contains(../my:Commodity, "Electrical Goods")) and
not(contains(../my:Commodity, "IT/Computers")) and not(contains(../my:Commodity, "Household Contents Hub")) and
not(contains(../my:Commodity, "Specialist Leisure Items")) and not(contains(../my:Commodity, "Garden Equipment & Power Tools")) and
not(contains../my:Commodity, "Cycles")) and not(contains(../my:Commodity, "Musical Instruments")) or
not(contains(../my:Instruction_Type, "Quote Only")) and not(contains(../my:Instruction_Type, "Replace")) and not(contains(../my:Instruction_Type,
"Inspect & Report")) and not(contains(../my:Instruction_Type, "Validate"))
Which I've tried to concart as, amongst others:
not(contains('../my:Commodity', concat("Electrical Goods", "IT/Computers",
"Household Contents Hub", "Specialist Leisure Items", "Garden Equipment & Power Tools", "Cycles"))) or
not(contains('../my:Instruction_Type', concat("Quote Only", "Replace", "Inspect & Report", "Validate")))
I'm hoping this will stop the splitting of the rules.
Thanks.