I can't find or google an example of how to use the switcher area anywhere, not even in the manual.
Can someone please explain this to me?
Can someone please explain this to me?
Hi
Data provider: the data to check
Values setup: what to do when the data provider is equal to a value
Example:
Suppose you have a button field (name = button1) who generate value = 1 when you click on (0 if you don't click on).
Data provider: {data:button1}
In value setup, you have to write:
0:{fn:redirect:event1}
1:{set:data:my_data$2022}{...}{fn:redirect:event2}
If you don't click on button1, after submit, you redirect the form to event 1
If you click on button1, data:my_data is set to 2022, ..., and you redirect the form to event2
Data provider: the data to check
Values setup: what to do when the data provider is equal to a value
Example:
Suppose you have a button field (name = button1) who generate value = 1 when you click on (0 if you don't click on).
Data provider: {data:button1}
In value setup, you have to write:
0:{fn:redirect:event1}
1:{set:data:my_data$2022}{...}{fn:redirect:event2}
If you don't click on button1, after submit, you redirect the form to event 1
If you click on button1, data:my_data is set to 2022, ..., and you redirect the form to event2
You need to login to be able to post a reply.