Conditional Form Actions Messaging

By: Ryan S | Asked: 09/11/2024
ForumsCategory: Code HelpConditional Form Actions Messaging
Ryan S asked 1 week ago

Hi and thanks for any support in advance. I have a basic form with four questions and I am seeking to apply a conditional message based on the outcome. I am using radio buttons with a simple Yes or No option.

I have used separate values for the radio with the text being Yes or No and adding values to the Yes or No fields.  

The questions are broken into two categories.
Category 1 has three questions.
Category 2 has one question.

As stated above, the answers are supplied by radio button Yes or No responses.

I have created a hidden field that adds up the responses from the four questions which have values attached to the yes or no selections.

Based on the hidden field sum, the user will receive one of two form submission messages indicating either a pass or fail status In an ideal world the form would also include a redirect to one of two corresponding urls based on the same logic however for now, I have disabled/omitted this as I cant even get the conditional messages to work as intended.

The Question Scoring Values are as follows: Question 1: Value 1 for Yes and Value 0 for No
Question 2: Value 2 for Yes and Value 0 for No
Question 3: Value 4 for Yes and Value 0 for No
Question 4: Value 10 for Yes and Value 0 for No

I have created two form ‘Confirmation Form Actions’ for the intended messages and correlated Conditional Logic.

One for a pass and one for a fail.  
Sum Values equating to a Pass

In order to achieve a Pass, the user must select Yes for at least two of the three questions in Category 1, plus a Yes selection to Q4 in Category 2.

The Pass variables are detailed below:

  1. Score ‘equals’ 13 (Q1,Q2 and Q4), or
  2. Score ‘equals’ 15 (Q1,  Q3 and Q4), or
  3. Score ‘equals’ 16 (Q2, Q3 and Q4), or
  4. Score ‘equals’ 17 (Q1, Q2, Q3 and Q4)

ERRORS as follows:

  1. I receive a pass and a fail message
  2. I receive a pass and a fail message
  3. I receive a pass and a fail message
  4. I receive a pass and a fail message

A Fail would result in a sum ‘does not equal’ to any of the above sum values in the Hidden field.

The Fail variable are detailed below:

  1. Score ‘does not equal’ 13 (Q1,Q2 and Q4), or
  2. Score ‘does not equal’ 15 (Q1,  Q3 and Q4), or
  3. Score ‘does not equal’ 16 (Q2, Q3 and Q4), or
  4. Score ‘does not equal’ 17 (Q1, Q2, Q3 and Q4)

All the above work as intended presently. Hidden 1 field in form Advanced Default (Calculation) is as follows: [q1] + [q2] + [q3] + [q4] The Hidden 1 works as I can see the correct scores on submission. Problem:

  1. I am receiving both messages simultaneously (Pass and Fail) which should be impossible.
  2. Alternatively I receive multiple (duplicate same messages) with certain options, for example in (Pass 4) above. This is perhaps more trickly to resolve.

The messages displayed currently used rich formatting with links contained for alternative options for the user.

In conclusion, I’ve been working on this for days which I find amazing as the objective is so simple.

I’m clearly a newbie to Formidable having migrated from Caldera.
I would be eternally grateful for any support or guidance.

Thanks in advance Ryan

PS: I’ll attach the xml form

Attachments
5 Answers
Victor Font answered 1 week ago
Your getting both messages because your are using "or" login and not "and" logic. Here's an example of why your conditions are failing. Let's say you have a passing score of 13. You'll get a pass message for passing criteria 1. However, you will also get a message for failing criteria 2,3,and 4 because 134 does not equal 15, 16, or 17. change the ORs in the failing criteria filter to ANDs.
Ryan S replied 6 days ago

Many thanks Victor - if you can spare a little more time for some additional guidance I'd be most grateful.

Ryan S answered 6 days ago
Many thanks for your guidance Victor.
Please forgive my ignorance. 
I understand the principal you refer to however have no idea how to implement this.
I've pasted a screenshot of the conditional logic currently applied which does not seem to allow me to specify or amend and/or logic. 
I imagine there's a way for me to abandon this area and manually code the logic? 
If you could guide me on this I would be eternally grateful. 
Many thank again 
Ryan 
Attachments
Ryan S answered 6 days ago
Here's a copy of the XML:

<?xml version="1.0" encoding="UTF-8" ?> <!-- generator="WordPress/6.6.2" created="2024-09-12 15:20" -->   <channel> <title>MS</title> <pubDate>Thu, 12 Sep 2024 15:20:53 +0000</pubDate>   <form> <id>26</id> <form_key><![CDATA[contact-us5]]></form_key> <name><![CDATA[EVMPSQ TESTING]]></name> <description><![CDATA[<p>MS-EV-MPS-Qualifier</p> ]]></description> <created_at>2019-01-24 01:52:21</created_at> <logged_in>0</logged_in> <is_template>0</is_template> <editable>0</editable> <options><![CDATA[{"on_submit_migrated":"1","antispam":"1","ajax_submit":"1","rootline":"progress","pagination_position":"above_title","rootline_titles":{"0":"Page 1","3039":"Next","3041":"Next","3043":"Next","3045":"Next"},"rootline_titles_on":"","rootline_numbers_off":"","rootline_lines_off":"","logged_in_role":[""],"single_entry_type":["user"],"cookie_expiration":"8000","unique_email_id":"431","protect_files":"0","noindex_files":"0","editable_role":[""],"edit_draft_role":[""],"open_date":"2019-01-03 22:34","custom_style":"1","transition":"slidein","submit_conditions":{"show_hide":"show","any_all":"any","hide_field_cond":["=="]},"landing_bg_image_id":"0","landing_opacity":"100","before_html":"<legend class=\\\"frm_screen_reader\\\">[form_name]<\/legend>\r\n[if form_name]<h3 class=\\\"frm_form_title\\\">[form_name]<\/h3>[\/if form_name]\r\n[if form_description]<div class=\\\"frm_description\\\">[form_description]<\/div>[\/if form_description]","submit_html":"<div class=\\\"frm_submit\\\">\r\n[if back_button]<button type=\\\"submit\\\" name=\\\"frm_prev_page\\\" formnovalidate=\\\"formnovalidate\\\" class=\\\"frm_prev_page\\\" [back_hook]>[back_label]<\/button>[\/if back_button]\r\n<button class=\\\"frm_button_submit\\\" type=\\\"submit\\\"  [button_action]>[button_label]<\/button>\r\n[if save_draft]<a href=\\\"#\\\" tabindex=\\\"0\\\" class=\\\"frm_save_draft\\\" [draft_hook]>[draft_label]<\/a>[\/if save_draft]\r\n<\/div>","success_action":"redirect","success_url":"https:\/\/eu1.documents.adobe.com\/public\/esignWidget?wid=CBFCIBAA3AAABLblqZhATlnWzlBJtqphrAabtYFeOii1LlVYMHOvLc6CWKL3_VtKpqLwm4bpLoV6Ag1uOny8*","open_in_new_tab":false}]]></options> <status><![CDATA[published]]></status> <parent_form_id>0</parent_form_id> <field> <id>429</id> <field_key><![CDATA[qh4icy26]]></field_key> <name><![CDATA[]]></name> <description><![CDATA[]]></description> <type><![CDATA[text]]></type> <default_value><![CDATA[]]></default_value> <field_order>2</field_order> <form_id>26</form_id> <required>1</required> <options><![CDATA[]]></options> <field_options><![CDATA[{"label":"none","required_indicator":"","invalid":"[field_name] is invalid","classes":"frm6 frm_first","custom_html":"<div id=\\\"frm_field_[id]_container\\\" class=\\\"frm_form_field form-field [required_class][error_class]\\\">\r\n\t<label for=\\\"field_[key]\\\" id=\\\"field_[key]_label\\\" class=\\\"frm_primary_label\\\">[field_name]\r\n\t\t<span class=\\\"frm_required\\\" aria-hidden=\\\"true\\\">[required_label]<\/span>\r\n\t<\/label>\r\n\t[input]\r\n\t[if description]<div class=\\\"frm_description\\\" id=\\\"frm_desc_field_[key]\\\">[description]<\/div>[\/if description]\r\n\t[if error]<div class=\\\"frm_error\\\" role=\\\"alert\\\" id=\\\"frm_error_field_[key]\\\">[error]<\/div>[\/if error]\r\n<\/div>","placeholder":"Full name","admin_only":[""],"in_section":"0","watch_lookup":[""],"btsp":{"prepend":"","append":""}}]]></field_options> </field> <field> <id>431</id> <field_key><![CDATA[29yf4d26]]></field_key> <name><![CDATA[]]></name> <description><![CDATA[]]></description> <type><![CDATA[email]]></type> <default_value><![CDATA[]]></default_value> <field_order>3</field_order> <form_id>26</form_id> <required>1</required> <options><![CDATA[]]></options> <field_options><![CDATA[{"label":"hidden","required_indicator":"","invalid":"Please enter a valid email address","classes":"frm6","custom_html":"<div id=\\\"frm_field_[id]_container\\\" class=\\\"frm_form_field form-field [required_class][error_class]\\\">\r\n\t<label for=\\\"field_[key]\\\" id=\\\"field_[key]_label\\\" class=\\\"frm_primary_label\\\">[field_name]\r\n\t\t<span class=\\\"frm_required\\\" aria-hidden=\\\"true\\\">[required_label]<\/span>\r\n\t<\/label>\r\n\t[input]\r\n\t[if description]<div class=\\\"frm_description\\\" id=\\\"frm_desc_field_[key]\\\">[description]<\/div>[\/if description]\r\n\t[if error]<div class=\\\"frm_error\\\" role=\\\"alert\\\" id=\\\"frm_error_field_[key]\\\">[error]<\/div>[\/if error]\r\n<\/div>","placeholder":"Email","admin_only":[""],"in_section":"0","watch_lookup":[""],"btsp":{"prepend":"","append":""}}]]></field_options> </field> <field> <id>440</id> <field_key><![CDATA[lp5gj]]></field_key> <name><![CDATA[]]></name> <description><![CDATA[]]></description> <type><![CDATA[text]]></type> <default_value><![CDATA[]]></default_value> <field_order>5</field_order> <form_id>26</form_id> <required>0</required> <options><![CDATA[]]></options> <field_options><![CDATA[{"invalid":"[field_name] is invalid","classes":"frm6 frm_first","custom_html":"<div id=\\\"frm_field_[id]_container\\\" class=\\\"frm_form_field form-field [required_class][error_class]\\\">\r\n\t<label for=\\\"field_[key]\\\" id=\\\"field_[key]_label\\\" class=\\\"frm_primary_label\\\">[field_name]\r\n\t\t<span class=\\\"frm_required\\\" aria-hidden=\\\"true\\\">[required_label]<\/span>\r\n\t<\/label>\r\n\t[input]\r\n\t[if description]<div class=\\\"frm_description\\\" id=\\\"frm_desc_field_[key]\\\">[description]<\/div>[\/if description]\r\n\t[if error]<div class=\\\"frm_error\\\" role=\\\"alert\\\" id=\\\"frm_error_field_[key]\\\">[error]<\/div>[\/if error]\r\n<\/div>","placeholder":"Mobile phone number","admin_only":[""],"in_section":"0"}]]></field_options> </field> <field> <id>441</id> <field_key><![CDATA[426ey]]></field_key> <name><![CDATA[]]></name> <description><![CDATA[]]></description> <type><![CDATA[text]]></type> <default_value><![CDATA[]]></default_value> <field_order>6</field_order> <form_id>26</form_id> <required>0</required> <options><![CDATA[]]></options> <field_options><![CDATA[{"invalid":"[field_name] is invalid","classes":"frm6","custom_html":"<div id=\\\"frm_field_[id]_container\\\" class=\\\"frm_form_field form-field [required_class][error_class]\\\">\r\n\t<label for=\\\"field_[key]\\\" id=\\\"field_[key]_label\\\" class=\\\"frm_primary_label\\\">[field_name]\r\n\t\t<span class=\\\"frm_required\\\" aria-hidden=\\\"true\\\">[required_label]<\/span>\r\n\t<\/label>\r\n\t[input]\r\n\t[if description]<div class=\\\"frm_description\\\" id=\\\"frm_desc_field_[key]\\\">[description]<\/div>[\/if description]\r\n\t[if error]<div class=\\\"frm_error\\\" role=\\\"alert\\\" id=\\\"frm_error_field_[key]\\\">[error]<\/div>[\/if error]\r\n<\/div>","placeholder":"Country","admin_only":[""],"in_section":"0"}]]></field_options> </field> <field> <id>443</id> <field_key><![CDATA[a0xha]]></field_key> <name><![CDATA[Next]]></name> <description><![CDATA[]]></description> <type><![CDATA[break]]></type> <default_value><![CDATA[]]></default_value> <field_order>8</field_order> <form_id>26</form_id> <required>0</required> <options><![CDATA[]]></options> <field_options><![CDATA[{"in_section":"0"}]]></field_options> </field> <field> <id>444</id> <field_key><![CDATA[q1]]></field_key> <name><![CDATA[In the last 12 months, have you placed more than 40 transactions (at an average of 10 per quarter over 4 quarters) in Shares, where buying a share is 1 transaction and selling that share is a second transaction? ]]></name> <description><![CDATA[]]></description> <type><![CDATA[radio]]></type> <default_value><![CDATA[]]></default_value> <field_order>10</field_order> <form_id>26</form_id> <required>0</required> <options><![CDATA[[{"label":"Yes","value":"1","image":"0"},{"label":"No","value":"0","image":"0"}]]]></options> <field_options><![CDATA[{"separate_value":"1","classes":"frm12 frm_first","custom_html":"<div id=\\\"frm_field_[id]_container\\\" class=\\\"frm_form_field form-field [required_class][error_class]\\\">\r\n\t<div  id=\\\"field_[key]_label\\\" class=\\\"frm_primary_label\\\">[field_name]\r\n\t\t<span class=\\\"frm_required\\\" aria-hidden=\\\"true\\\">[required_label]<\/span>\r\n\t<\/div>\r\n\t<div class=\\\"frm_opt_container\\\" aria-labelledby=\\\"field_[key]_label\\\" role=\\\"group\\\">[input]<\/div>\r\n\t[if description]<div class=\\\"frm_description\\\" id=\\\"frm_desc_field_[key]\\\">[description]<\/div>[\/if description]\r\n\t[if error]<div class=\\\"frm_error\\\" role=\\\"alert\\\" id=\\\"frm_error_field_[key]\\\">[error]<\/div>[\/if error]\r\n<\/div>","image_options":"0","image_size":"small","admin_only":[""],"other":"0","in_section":"0","required_indicator":""}]]></field_options> </field> <field> <id>445</id> <field_key><![CDATA[82dmi]]></field_key> <name><![CDATA[Next]]></name> <description><![CDATA[]]></description> <type><![CDATA[break]]></type> <default_value><![CDATA[]]></default_value> <field_order>12</field_order> <form_id>26</form_id> <required>0</required> <options><![CDATA[]]></options> <field_options><![CDATA[{"in_section":"0"}]]></field_options> </field> <field> <id>446</id> <field_key><![CDATA[q2]]></field_key> <name><![CDATA[Is the value of your investment portfolio greater than €500,000, which is defined as including cash deposits and financial instruments?]]></name> <description><![CDATA[]]></description> <type><![CDATA[radio]]></type> <default_value><![CDATA[]]></default_value> <field_order>14</field_order> <form_id>26</form_id> <required>0</required> <options><![CDATA[[{"label":"Yes","value":"2","image":"0"},{"label":"No","value":"0","image":"0"}]]]></options> <field_options><![CDATA[{"separate_value":"1","custom_html":"<div id=\\\"frm_field_[id]_container\\\" class=\\\"frm_form_field form-field [required_class][error_class]\\\">\r\n\t<div  id=\\\"field_[key]_label\\\" class=\\\"frm_primary_label\\\">[field_name]\r\n\t\t<span class=\\\"frm_required\\\" aria-hidden=\\\"true\\\">[required_label]<\/span>\r\n\t<\/div>\r\n\t<div class=\\\"frm_opt_container\\\" aria-labelledby=\\\"field_[key]_label\\\" role=\\\"group\\\">[input]<\/div>\r\n\t[if description]<div class=\\\"frm_description\\\" id=\\\"frm_desc_field_[key]\\\">[description]<\/div>[\/if description]\r\n\t[if error]<div class=\\\"frm_error\\\" role=\\\"alert\\\" id=\\\"frm_error_field_[key]\\\">[error]<\/div>[\/if error]\r\n<\/div>","image_options":"0","image_size":"small","admin_only":[""],"other":"0","in_section":"0","required_indicator":""}]]></field_options> </field> <field> <id>447</id> <field_key><![CDATA[1p1tx]]></field_key> <name><![CDATA[Next]]></name> <description><![CDATA[]]></description> <type><![CDATA[break]]></type> <default_value><![CDATA[]]></default_value> <field_order>16</field_order> <form_id>26</form_id> <required>0</required> <options><![CDATA[]]></options> <field_options><![CDATA[{"in_section":"0"}]]></field_options> </field> <field> <id>448</id> <field_key><![CDATA[q3]]></field_key> <name><![CDATA[Do you or have you worked financial services for at least a year within a position which requires knowledge in Equity Shares?, ]]></name> <description><![CDATA[]]></description> <type><![CDATA[radio]]></type> <default_value><![CDATA[]]></default_value> <field_order>18</field_order> <form_id>26</form_id> <required>0</required> <options><![CDATA[[{"label":"Yes","value":"4","image":"0"},{"label":"No","value":"0","image":"0"}]]]></options> <field_options><![CDATA[{"separate_value":"1","custom_html":"<div id=\\\"frm_field_[id]_container\\\" class=\\\"frm_form_field form-field [required_class][error_class]\\\">\r\n\t<div  id=\\\"field_[key]_label\\\" class=\\\"frm_primary_label\\\">[field_name]\r\n\t\t<span class=\\\"frm_required\\\" aria-hidden=\\\"true\\\">[required_label]<\/span>\r\n\t<\/div>\r\n\t<div class=\\\"frm_opt_container\\\" aria-labelledby=\\\"field_[key]_label\\\" role=\\\"group\\\">[input]<\/div>\r\n\t[if description]<div class=\\\"frm_description\\\" id=\\\"frm_desc_field_[key]\\\">[description]<\/div>[\/if description]\r\n\t[if error]<div class=\\\"frm_error\\\" role=\\\"alert\\\" id=\\\"frm_error_field_[key]\\\">[error]<\/div>[\/if error]\r\n<\/div>","image_options":"0","image_size":"small","admin_only":[""],"other":"0","in_section":"0","required_indicator":""}]]></field_options> </field> <field> <id>449</id> <field_key><![CDATA[74tip]]></field_key> <name><![CDATA[Next]]></name> <description><![CDATA[]]></description> <type><![CDATA[break]]></type> <default_value><![CDATA[]]></default_value> <field_order>20</field_order> <form_id>26</form_id> <required>0</required> <options><![CDATA[]]></options> <field_options><![CDATA[{"in_section":"0"}]]></field_options> </field> <field> <id>451</id> <field_key><![CDATA[q4]]></field_key> <name><![CDATA[The minimum investment amount for this product is £100,000. Are you comfortable to invest at least this amount at this time? ]]></name> <description><![CDATA[]]></description> <type><![CDATA[radio]]></type> <default_value><![CDATA[]]></default_value> <field_order>22</field_order> <form_id>26</form_id> <required>0</required> <options><![CDATA[[{"label":"Yes","value":"10","image":"0"},{"label":"No","value":"0","image":"0"}]]]></options> <field_options><![CDATA[{"separate_value":"1","custom_html":"<div id=\\\"frm_field_[id]_container\\\" class=\\\"frm_form_field form-field [required_class][error_class]\\\">\r\n\t<div  id=\\\"field_[key]_label\\\" class=\\\"frm_primary_label\\\">[field_name]\r\n\t\t<span class=\\\"frm_required\\\" aria-hidden=\\\"true\\\">[required_label]<\/span>\r\n\t<\/div>\r\n\t<div class=\\\"frm_opt_container\\\" aria-labelledby=\\\"field_[key]_label\\\" role=\\\"group\\\">[input]<\/div>\r\n\t[if description]<div class=\\\"frm_description\\\" id=\\\"frm_desc_field_[key]\\\">[description]<\/div>[\/if description]\r\n\t[if error]<div class=\\\"frm_error\\\" role=\\\"alert\\\" id=\\\"frm_error_field_[key]\\\">[error]<\/div>[\/if error]\r\n<\/div>","image_options":"0","image_size":"small","admin_only":[""],"other":"0","in_section":"0","required_indicator":""}]]></field_options> </field> <field> <id>454</id> <field_key><![CDATA[sum]]></field_key> <name><![CDATA[Hidden 1]]></name> <description><![CDATA[]]></description> <type><![CDATA[hidden]]></type> <default_value><![CDATA[]]></default_value> <field_order>24</field_order> <form_id>26</form_id> <required>0</required> <options><![CDATA[]]></options> <field_options><![CDATA[{"calc":"[q1] + [q2] + [q3] + [q4]","in_section":"0"}]]></field_options> </field> <field> <id>436</id> <field_key><![CDATA[zpi01]]></field_key> <name><![CDATA[Submit]]></name> <description><![CDATA[]]></description> <type><![CDATA[submit]]></type> <default_value><![CDATA[]]></default_value> <field_order>30</field_order> <form_id>26</form_id> <required>0</required> <options><![CDATA[]]></options> <field_options><![CDATA[{"custom_html":"<div id=\\\"frm_field_[id]_container\\\" class=\\\"frm_form_field form-field [required_class][error_class]\\\">\r\n\t[input]\r\n<\/div>","start_over_label":"","in_section":"0"}]]></field_options> </field> </form> <view> <title>Formidable Style</title> <link></link> <post_author><![CDATA[Admin]]></post_author> <description></description> <content><![CDATA[{"theme_css":"ui-lightness","theme_name":"UI Lightness","center_form":"","form_width":"100%","form_align":"left","direction":"ltr","fieldset":"0px","fieldset_color":"000000","fieldset_padding":"10px 10px 15px 10px","fieldset_bg_color":"","title_size":"40px","title_color":"444444","title_margin_top":"10px","title_margin_bottom":"60px","form_desc_size":"14px","form_desc_color":"666666","form_desc_margin_top":"10px","form_desc_margin_bottom":"25px","form_desc_padding":"0","font":"","font_size":"15px","label_color":"3f4b5b","weight":"normal","position":"none","align":"left","width":"150px","required_color":"B94A48","required_weight":"bold","label_padding":"0 0 3px 0","description_font_size":"12px","description_color":"666666","description_weight":"normal","description_style":"normal","description_align":"left","description_margin":"0","field_font_size":"14px","field_height":"32px","line_height":"normal","field_width":"100%","auto_width":"","field_pad":"6px 10px","field_margin":"20px","field_weight":"normal","text_color":"555555","border_color":"BFC3C8","field_border_width":"1px","field_border_style":"solid","bg_color":"ffffff","remove_box_shadow":"","bg_color_active":"ffffff","border_color_active":"66afe9","remove_box_shadow_active":"","text_color_error":"444444","bg_color_error":"ffffff","border_color_error":"B94A48","border_width_error":"1px","border_style_error":"solid","bg_color_disabled":"ffffff","border_color_disabled":"E5E5E5","text_color_disabled":"A1A1A1","radio_align":"block","check_align":"block","check_font_size":"13px","check_label_color":"444444","check_weight":"normal","section_font_size":"18px","section_color":"444444","section_weight":"bold","section_pad":"15px 0 3px 0","section_mar_top":"15px","section_mar_bottom":"30px","section_bg_color":"","section_border_color":"e8e8e8","section_border_width":"2px","section_border_style":"solid","section_border_loc":"-top","collapse_icon":"6","collapse_pos":"after","repeat_icon":"1","repeat_icon_color":"ffffff","submit_style":"","submit_font_size":"15px","submit_width":"auto","submit_height":"auto","submit_bg_color":"579AF6","submit_border_color":"579AF6","submit_border_width":"1px","submit_text_color":"ffffff","submit_weight":"normal","submit_border_radius":"4px","submit_bg_img":"","submit_margin":"10px","submit_padding":"10px 20px","submit_shadow_color":"eeeeee","submit_hover_bg_color":"efefef","submit_hover_color":"444444","submit_hover_border_color":"cccccc","submit_active_bg_color":"efefef","submit_active_color":"444444","submit_active_border_color":"cccccc","border_radius":"4px","error_bg":"F2DEDE","error_border":"EBCCD1","error_text":"B94A48","error_font_size":"14px","success_bg_color":"DFF0D8","success_border_color":"D6E9C6","success_text_color":"468847","success_font_size":"14px","important_style":"","progress_bg_color":"eaeaea","progress_color":"3f4b5b","progress_active_bg_color":"579AF6","progress_active_color":"ffffff","progress_border_color":"E5E5E5","progress_border_size":"2px","progress_size":"24px","custom_css":"","toggle_font_size":"15px","toggle_on_color":"579AF6","toggle_off_color":"rgba(30,115,190,0.49)","slider_font_size":"24px","slider_track_size":"5px","slider_circle_size":"24px","slider_color":"579AF6","slider_bar_color":"579AF6","date_head_bg_color":"579AF6","date_head_color":"ffffff","date_band_color":"2568c4","bg_image_id":"0","bg_image_opacity":"100%"}]]></content> <excerpt><![CDATA[]]></excerpt> <post_id>14857</post_id> <post_date>2024-03-18 10:52:13</post_date> <post_date_gmt>2024-03-18 10:52:13</post_date_gmt> <comment_status>closed</comment_status> <ping_status>closed</ping_status> <post_name>formidable-style</post_name> <status>publish</status> <post_parent>0</post_parent> <menu_order>1</menu_order> <post_type>frm_styles</post_type> <post_password><![CDATA[]]></post_password> <is_sticky>0</is_sticky> </view> <view> <title>Email Notification</title> <link></link> <post_author><![CDATA[Admin]]></post_author> <description></description> <content><![CDATA[{"event":["create"],"email_to":"[admin_email]","cc":"","bcc":"","from":"[sitename] <[admin_email]>","reply_to":"[3036]","email_subject":"","email_message":"[default-message]","inc_user_info":"1","email_attachment_id":"","attach_pdf":"1","conditions":{"send_stop":"send","any_all":"any"}}]]></content> <excerpt><![CDATA[email]]></excerpt> <post_id>17116</post_id> <post_date>2015-04-06 17:18:12</post_date> <post_date_gmt>2015-04-06 17:18:12</post_date_gmt> <comment_status>closed</comment_status> <ping_status>closed</ping_status> <post_name>26_email_17116</post_name> <status>publish</status> <post_parent>0</post_parent> <menu_order>26</menu_order> <post_type>frm_form_actions</post_type> <post_password><![CDATA[]]></post_password> <is_sticky>0</is_sticky> <postmeta> <meta_key>_wp_old_slug</meta_key> <meta_value><![CDATA[97_email_237-5]]></meta_value> </postmeta> <postmeta> <meta_key>_wp_old_slug</meta_key> <meta_value><![CDATA[97_email_237-5]]></meta_value> </postmeta> </view> <view> <title>Confirmation Fail Redirect Solo</title> <link></link> <post_author><![CDATA[Admin]]></post_author> <description></description> <content><![CDATA[{"event":["create"],"success_action":"redirect","success_msg":"","success_url":"\/contact","success_page_id":"0","conditions":{"send_stop":"send","any_all":"any","0":{"hide_field":"454","hide_field_cond":"!=","hide_opt":"13"},"1":{"hide_field":"454","hide_field_cond":"!=","hide_opt":"15"},"2":{"hide_field":"454","hide_field_cond":"!=","hide_opt":"16"},"3":{"hide_field":"454","hide_field_cond":"!=","hide_opt":"17"}}}]]></content> <excerpt><![CDATA[on_submit]]></excerpt> <post_id>17182</post_id> <post_date>2024-09-11 09:00:20</post_date> <post_date_gmt>0000-00-00 00:00:00</post_date_gmt> <comment_status>closed</comment_status> <ping_status>closed</ping_status> <post_name>26_on_submit_17182</post_name> <status>draft</status> <post_parent>0</post_parent> <menu_order>26</menu_order> <post_type>frm_form_actions</post_type> <post_password><![CDATA[]]></post_password> <is_sticky>0</is_sticky> </view> <view> <title>Confirmation Pass</title> <link></link> <post_author><![CDATA[Admin]]></post_author> <description></description> <content><![CDATA[{"event":["create"],"success_action":"message","success_msg":"<p style=\"font-family: Arial, sans-serif; color: #000; font-size: 16px; line-height: 1.5; margin: 20px;\"><strong>Congratulations - it's a good fit!<\/strong><\/p>\r\n<p style=\"font-family: Arial, sans-serif; color: #000; font-size: 16px; line-height: 1.5; margin: 20px;\">Based on your responses, it looks like we're a good fit.<\/p>\r\n<p style=\"font-family: Arial, sans-serif; color: #000; font-size: 16px; line-height: 1.5; margin: 20px;\">You will now be redirected to complete the remainder of your account opening application.<\/p>\r\n<p style=\"font-family: Arial, sans-serif; color: #000; font-size: 16px; line-height: 1.5; margin: 20px;\">This should take about 10 minutes to complete.<\/p>\r\n<p style=\"font-family: Arial, sans-serif; color: #000; font-size: 16px; line-height: 1.5; margin: 20px;\">If you are not automatically redirected, please click the following link: https:\/\/abc.com<\/p>\r\n&nbsp;","success_url":"","success_page_id":"0","conditions":{"send_stop":"send","any_all":"any","0":{"hide_field":"454","hide_field_cond":"==","hide_opt":"13"},"1":{"hide_field":"454","hide_field_cond":"==","hide_opt":"15"},"2":{"hide_field":"454","hide_field_cond":"==","hide_opt":"16"},"3":{"hide_field":"454","hide_field_cond":"==","hide_opt":"17"}}}]]></content> <excerpt><![CDATA[on_submit]]></excerpt> <post_id>17184</post_id> <post_date>2024-09-11 10:27:13</post_date> <post_date_gmt>0000-00-00 00:00:00</post_date_gmt> <comment_status>closed</comment_status> <ping_status>closed</ping_status> <post_name>26_on_submit_17184</post_name> <status>draft</status> <post_parent>0</post_parent> <menu_order>26</menu_order> <post_type>frm_form_actions</post_type> <post_password><![CDATA[]]></post_password> <is_sticky>0</is_sticky> <postmeta> <meta_key>_wp_old_slug</meta_key> <meta_value><![CDATA[26_on_submit_17217-2]]></meta_value> </postmeta> </view> <view> <title>Confirmation Fail</title> <link></link> <post_author><![CDATA[Admin]]></post_author> <description></description> <content><![CDATA[{"event":["create"],"success_action":"message","success_msg":"<p style=\"font-family: Arial, sans-serif; color: #000; font-size: 16px; line-height: 1.5; margin: 20px;\"><strong>Thank you for taking the time to express your interest in subscribing.<\/strong><\/p>\r\n<p style=\"font-family: Arial, sans-serif; color: #000; font-size: 16px; line-height: 1.5; margin: 20px;\">Based on your responses, at this time <strong>it does not look like we're a good fit.<\/strong><\/p>\r\n<p style=\"font-family: Arial, sans-serif; color: #000; font-size: 16px; line-height: 1.5; margin: 20px;\">A member of our team will review your submission and get back to you in due course.<\/p>\r\n<p style=\"font-family: Arial, sans-serif; color: #000; font-size: 16px; line-height: 1.5; margin: 20px;\">Many thanks again,<\/p>","success_url":"","success_page_id":"0","conditions":{"send_stop":"send","any_all":"any","0":{"hide_field":"454","hide_field_cond":"!=","hide_opt":"13"},"1":{"hide_field":"454","hide_field_cond":"!=","hide_opt":"15"},"2":{"hide_field":"454","hide_field_cond":"!=","hide_opt":"16"},"3":{"hide_field":"454","hide_field_cond":"!=","hide_opt":"17"}}}]]></content> <excerpt><![CDATA[on_submit]]></excerpt> <post_id>17185</post_id> <post_date>2024-09-11 09:27:45</post_date> <post_date_gmt>0000-00-00 00:00:00</post_date_gmt> <comment_status>closed</comment_status> <ping_status>closed</ping_status> <post_name>26_on_submit_17185</post_name> <status>draft</status> <post_parent>0</post_parent> <menu_order>26</menu_order> <post_type>frm_form_actions</post_type> <post_password><![CDATA[]]></post_password> <is_sticky>0</is_sticky> <postmeta> <meta_key>_wp_old_slug</meta_key> <meta_value><![CDATA[26_on_submit_17195]]></meta_value> </postmeta> </view> <view> <title>Confirmation Pass Redirect Solo</title> <link></link> <post_author><![CDATA[Admin]]></post_author> <description></description> <content><![CDATA[{"event":["create"],"success_action":"redirect","success_msg":"","success_url":"https:\/\/eu1.documents.adobe.com\/public\/esignWidget?wid=CBFCIBAA3AAABLblqZhATlnWzlBJtqphrAabtYFeOii1LlVYMHOvLc6CWKL3_VtKpqLwm4bpLoV6Ag1uOny8*","success_page_id":"0","conditions":{"send_stop":"send","any_all":"any","0":{"hide_field":"454","hide_field_cond":"==","hide_opt":"13"},"1":{"hide_field":"454","hide_field_cond":"==","hide_opt":"15"},"2":{"hide_field":"454","hide_field_cond":"==","hide_opt":"16"},"3":{"hide_field":"454","hide_field_cond":"==","hide_opt":"17"}}}]]></content> <excerpt><![CDATA[on_submit]]></excerpt> <post_id>17186</post_id> <post_date>2024-09-11 10:34:59</post_date> <post_date_gmt>2024-09-11 10:34:59</post_date_gmt> <comment_status>closed</comment_status> <ping_status>closed</ping_status> <post_name>26_on_submit_17186</post_name> <status>publish</status> <post_parent>0</post_parent> <menu_order>26</menu_order> <post_type>frm_form_actions</post_type> <post_password><![CDATA[]]></post_password> <is_sticky>0</is_sticky> </view> </channel>  
Rob LeVineRob LeVine answered 6 days ago
Following this tutorial, you can frm_after_update_entry and/or frm_after_create_entry to trigger the proper email.
Ryan S answered 4 days ago
I managed to solve this by simply adding the following into the upper message area and not the lower pre-defined conditions gui:
[if 454 equals="13" OR 454 equals="15" OR 454 equals="16" OR 454 equals="17"] TEXT Message in rich text with links etc [/if 454] then [if 454 not_equal="13" OR 454 not_equal="15" OR 454 not_equal="16" OR 454 not_equal="17"] TEXT Message in rich text with links etc [/if 454]

Thank you both for your help.
I now have a better grasp of where and how to add functions etc

NB: 454 is the field code for the hidden field.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right