The requirement for these changes was to have the ability to set the different redirect page and send different email notification if form was submitted with the specific value. For example, if a radio field has specific value "radio1".
According to this requirement I've implemented new fields for FormPlugin and EmailNotification models:
Redirect page for condition case
Condition field (field name of the form field)
Condition value (used to check whether condition is met)
Use in condition (for email notifications, to define which email notifications should be sent if condition succeeded)
If new fields are empty then this logic is not enabled, so it's not affecting the original functionality.
The requirement for these changes was to have the ability to set the different redirect page and send different email notification if form was submitted with the specific value. For example, if a radio field has specific value "radio1".
According to this requirement I've implemented new fields for FormPlugin and EmailNotification models:
If new fields are empty then this logic is not enabled, so it's not affecting the original functionality.