Visibility Rules Field Values Are Not Displaying on the Form

No ratings

Issue Description
After setting up visibility rules on a form, you are not seeing the dynamic values for the field when you are testing the form.

 

Issue Resolution
The most likely reason that the dynamic values are not displaying is because of a discrepancy between the visibility rules and the field values. The value for the visibility rule must match the field values.

 

Example: A common example of this is Country/State dynamic visibility. Based on the Country selected, the State field will show with dynamic values. So say that on the form, there are 50 values for the State field and there are also specific values under the visibility rules that are associated with the Country selection. It is likely that the values in the visibility rules do not match up with these 50 field values. If you select US and the dynamic values are the full State names, such as California, but the value in the State field is CA, the visibility rules will be attempting to display a value that does not exist.

 

The solution is to either change the visibility rules' values, or change the field values, so that the values match.


Is this article helpful ?

YesNo


Comments

I did this for just Country and State fields. Just did 3 countries (USA, Canada, and Mexico), but for some reason, when I would select Canada or Mexico, their values would not load. The label would properly change to state/province if I selected Canada, but no actual values in the dropdown.

I was super confused as why US values would load, but not the other two.

My mistake was only populating the Canada and Mexico values into the visibility rules screen, and not actually placing those same values into the state field itself. My actual state field had only US values in it, not all values for US, Canada and Mexico.

So, I copy/pasted my values out of the visibility rules section, and added them all into the state field. Once I did that, my state field would properly, dynamically load the correct state/province values for Canada and Mexico.


From my searches, it isn't properly documented that you need to have ALL values in the field you are doing visibility rules on. From what I read, I thought everything was perfectly setup by having specific values only on the visibility rules screen, but I needed to have all values in both places (the field itself, and again on the visibility rules, but broken out to their respective options).