I want to show the user the options that has not been selected from a smart field (dropdown, multiselect, checkbox etc).
The configuration seems not to be configured correctly:
Field1 = Smart Checkbox (list of values)
Field2 = Smart Checkbox (list of values)
I have a Rule to set Field2 = Field.UnselectedValues. By making use of Set Value of change of Field 1. This is the action: Field2=[entry.id.getUnselectedOptions(Field1)], this seems to exclude the first and last options of the smart field. Meaning that it is not fuctioning correctly. Refer to the following image:
This is not a limitation on Smart Checkbox only, but also with Smart Dropdown, mutliselect etc.
Am I missing something?
Please change the expression to be
Field2=[entry._func.getUnselectedOptions(Field1).asList]
The field expects a CSV list of values (options)
And for new records there is no value for the "id" field, so it is safer to use the _func bridge
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.