Hi,
I have a dropdown field in a form and I want to lookup and set the selection from it in a field in another form. However, the rule "lookup and set" sets the id of the dropdown option instead of the label and as a solution I am additionally using a "set expression" rule with
field=IF(EQUALS("[entry.field_where_is_set]", "1"), "actualLabel", IF(EQUALS(....
to set the correct label in a new field in the same form. However as per my understanding [entry.field] retrieves the data submitted.
How do I compare the value entered in a field in an EQUALS clause. For example, if 1 is entered in field1, the set expression rule should compare the entered data with "1" and assign the corresponding value to field2.
Is there maybe an easier way to set the label with the lookup rule in the first place?
Hi @Ryan Kafoor
The "Lookup and set" rule looks up the whole record
And you can access not only id but the labels as well by adding a .label
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.