Hello-
I need to be able to trigger a save data action only if certain conditions are true from the form data (age of user is 18 or older). Chronoforms 7 has Run Conditions for this. What do I use for Chronoforms 8?
using a PHP events behavior, you do your conditions check using PHP code, check for data with $this->data("field_name"), variables with $this->get("var_name")
Max-
Can you be so kind as to elaborate on this? For example I have a custom PHP action that looks at a checkbox and returns T/F. How do I link that to my Save_Data10 action so that it only saves the data if the checkbox is checked? I see in the PHP an "Event" behavior is that what is used or something else. Thank you in advance for your time.
Hi mgergel
After you enable the Events behavior in PHP and define your events as T,F, save the form to rebuild the PHP action with events, then you can put your Save Data action in T event
Run conditions added to v8.0.24