Jump to content

If empty - how to map many answers to one field?


EWA

Recommended Posts

The answer to a question of Region can come from different field_id, as the region depends on Divison. 

 

I was thinking of mapping all the answer to a text field but I'm not sure, how I can make to show only the variable which isn't empty.

 

Link to comment
Share on other sites

Are all but one values guaranteed to be empty?

If so, a chain containing each variable will resolve to just the single variable that holds a value.

i.e:

&[functions.pcf("formName","questionOne")]&[functions.pcf("formName","questionTwo")]&[functions.pcf("formName","questionThree")]&[functions.pcf("formName","questionFour")]&[functions.pcf("formName","questionFive")]

Would show:

Answer Four

If only questionFour had been answered.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...