• Resolved msauer

    (@msauer)


    I have a form using forminator and the data it collects is below:

    1. First Name,
    2. Last Name,
    3. Email,
    4. Vendor Type (radio button for paid-$35 and free-$0/Null)
    5. Number of spaces required (number field).?
    6. Then I have a calculation field called Amt. Due that takes the vendor type value and multiplies it by the number of space(s).? ex. $35×2=70 OR? 0x2 = 0
    7. Then I have the PayPal field with visibility set to show if all of Amt. Due is not Null
      1. PayPal should be visible only when there is money to be collected, otherwise the SUBMIT button should be there to collect the data with no payment required for the FREE space.
    8. Submit button

    I have tried several options like putting a visibility condition on the submit button as well, but not been successful either.  I can successfully collect money, but when it is a free space = 0 the submit option is not working properly.

    I get the below message.

    My Form Export

    {“type”:”form”,”data”:{“fields”:[{“id”:”name-1″,”element_id”:”name-1″,”form_id”:”wrapper-7205-1985″,”parent_group”:””,”type”:”name”,”options”:[],”cols”:”6″,”conditions”:[],”wrapper_id”:”wrapper-7205-1985″,”field_label”:”First Name”,”placeholder”:”E.g. John”,”prefix_label”:”Prefix”,”fname_label”:”First Name”,”fname_placeholder”:”E.g. John”,”mname_label”:”Middle Name”,”mname_placeholder”:”E.g. Smith”,”lname_label”:”Last Name”,”lname_placeholder”:”E.g. Doe”,”prefix”:”true”,”fname”:”true”,”mname”:”true”,”lname”:”true”,”required_message”:”Name is required.”,”prefix_required_message”:”Prefix is required.”,”fname_required_message”:”First Name is required.”,”mname_required_message”:”Middle Name is required.”,”lname_required_message”:”Last Name is required.”,”layout_columns”:”2″,”required”:”1″},{“id”:”name-2″,”element_id”:”name-2″,”form_id”:”wrapper-7205-1985″,”parent_group”:””,”type”:”name”,”options”:[],”cols”:”6″,”conditions”:[],”wrapper_id”:”wrapper-7205-1985″,”field_label”:”Last Name”,”placeholder”:”E.g. Doe”,”prefix_label”:”Prefix”,”fname_label”:”First Name”,”fname_placeholder”:”E.g. John”,”mname_label”:”Middle Name”,”mname_placeholder”:”E.g. Smith”,”lname_label”:”Last Name”,”lname_placeholder”:”E.g. Doe”,”prefix”:”true”,”fname”:”true”,”mname”:”true”,”lname”:”true”,”required_message”:”Name is required.”,”prefix_required_message”:”Prefix is required.”,”fname_required_message”:”First Name is required.”,”mname_required_message”:”Middle Name is required.”,”lname_required_message”:”Last Name is required.”,”layout_columns”:”2″,”formid”:”wrapper-1425-6947″,”required”:”1″},{“id”:”email-1″,”element_id”:”email-1″,”form_id”:”wrapper-3540-7840″,”parent_group”:””,”type”:”email”,”options”:[],”cols”:”12″,”conditions”:[],”wrapper_id”:”wrapper-3540-7840″,”validation”:”1″,”placeholder”:”E.g. [email protected]”,”field_label”:”Email Address”,”required”:”1″},{“id”:”radio-1″,”element_id”:”radio-1″,”form_id”:”wrapper-9473-7147″,”parent_group”:””,”type”:”radio”,”options”:[{“label”:”Vendor-$35″,”value”:”Vendor-$35″,”key”:”5226-8304″,”error”:””,”calculation”:”35″},{“label”:”Non-Profit-$0″,”value”:”Non-Profit-$0″,”key”:”6973-4832″,”error”:””,”calculation”:”0″}],”cols”:”6″,”conditions”:[],”wrapper_id”:”wrapper-9473-7147″,”hidden_behavior”:”zero”,”value_type”:”radio”,”field_label”:”Vendor Type”,”layout”:”vertical”,”options_bulk_editor”:”Vendor-$35;Vendor-$35; 0\nNon-Profit-$0;Non-Profit-$0; 0″,”options_expanded”:”1″,”calculations”:”true”,”required”:”1″},{“id”:”number-1″,”element_id”:”number-1″,”form_id”:”wrapper-9473-7147″,”parent_group”:””,”type”:”number”,”options”:[],”cols”:”6″,”conditions”:[],”wrapper_id”:”wrapper-9473-7147″,”hidden_behavior”:”zero”,”calculations”:”true”,”limit_min”:”1″,”limit_max”:”150″,”field_label”:”How many spaces would you like?”,”placeholder”:”E.g. 10″,”required”:”1″},{“id”:”calculation-1″,”element_id”:”calculation-1″,”form_id”:”wrapper-4169-8874″,”parent_group”:””,”type”:”calculation”,”options”:[],”cols”:”12″,”conditions”:[],”wrapper_id”:”wrapper-4169-8874″,”hidden_behavior”:”zero”,”field_label”:”Amount Due.”,”formula”:”{radio-1}*{number-1}”,”hidden”:””},{“id”:”paypal-1″,”element_id”:”paypal-1″,”form_id”:”wrapper-3729-6008″,”parent_group”:””,”type”:”paypal”,”options”:[],”cols”:”12″,”conditions”:[{“element_id”:”calculation-1″,”rule”:”is_not”,”value”:””}],”wrapper_id”:”wrapper-3729-6008″,”mode”:”sandbox”,”currency”:”USD”,”amount_type”:”variable”,”label”:”checkout”,”color”:”gold”,”shape”:”rect”,”layout”:”vertical”,”tagline”:”true”,”shipping_address”:”disable”,”locale”:”en_US”,”debug_mode”:”disable”,”height”:”40″,”variable”:”calculation-1″,”condition_rule”:”all”}],”settings”:{“pagination-header”:”nav”,”paginationData”:{“pagination-header-design”:”show”,”pagination-header”:”nav”},”formName”:”Conditional Form”,”version”:”1.30.2″,”form-border-style”:”none”,”form-padding”:””,”form-border”:””,”fields-style”:”open”,”field-image-size”:”auto”,”validation”:”on_submit”,”akismet-protection”:”0″,”form-style”:”default”,”enable-ajax”:”true”,”autoclose”:”true”,”submission-indicator”:”show”,”indicator-label”:”Submitting…”,”form-type”:”default”,”submission-behaviour”:”behaviour-hide”,”thankyou-message”:”Thank you for contacting us, we will be in touch shortly.”,”submitData”:{“custom-submit-text”:”Send Message”,”custom-invalid-form-message”:”Error: Your form is not valid, please fix the errors!”,”conditions”:[{“element_id”:”calculation-1″,”rule”:”is”,”value”:””}],”condition_action”:”show”},”validation-inline”:”1″,”form-expire”:”no_expire”,”form-padding-top”:”0″,”form-padding-right”:”0″,”form-padding-bottom”:”0″,”form-padding-left”:”0″,”form-border-width”:”0″,”form-border-radius”:”0″,”cform-label-font-family”:”Roboto”,”cform-label-custom-family”:””,”cform-label-font-size”:”12″,”cform-label-font-weight”:”bold”,”cform-title-font-family”:”Roboto”,”cform-title-custom-family”:””,”cform-title-font-size”:”45″,”cform-title-font-weight”:”normal”,”cform-title-text-align”:”left”,”cform-subtitle-font-family”:”Roboto”,”cform-subtitle-custom-font”:””,”cform-subtitle-font-size”:”18″,”cform-subtitle-font-weight”:”normal”,”cform-subtitle-text-align”:”left”,”cform-input-font-family”:”Roboto”,”cform-input-custom-font”:””,”cform-input-font-size”:”16″,”cform-input-font-weight”:”normal”,”cform-radio-font-family”:”Roboto”,”cform-radio-custom-font”:””,”cform-radio-font-size”:”14″,”cform-radio-font-weight”:”normal”,”cform-select-font-family”:”Roboto”,”cform-select-custom-family”:””,”cform-select-font-size”:”16″,”cform-select-font-weight”:”normal”,”cform-multiselect-font-family”:”Roboto”,”cform-multiselect-custom-font”:””,”cform-multiselect-font-size”:”16″,”cform-multiselect-font-weight”:”normal”,”cform-dropdown-font-family”:”Roboto”,”cform-dropdown-custom-font”:””,”cform-dropdown-font-size”:”16″,”cform-dropdown-font-weight”:”normal”,”cform-calendar-font-family”:”Roboto”,”cform-calendar-custom-font”:””,”cform-calendar-font-size”:”13″,”cform-calendar-font-weight”:”normal”,”cform-button-font-family”:”Roboto”,”cform-button-custom-font”:””,”cform-button-font-size”:”14″,”cform-button-font-weight”:”500″,”cform-timeline-font-family”:”Roboto”,”cform-timeline-custom-font”:””,”cform-timeline-font-size”:”12″,”cform-timeline-font-weight”:”normal”,”cform-pagination-font-family”:””,”cform-pagination-custom-font”:””,”cform-pagination-font-size”:”16″,”cform-pagination-font-weight”:”normal”,”payment_require_ssl”:””,”submission-file”:”delete”,”store_submissions”:”1″,”form_name”:”conditional-form”,”form_status”:”publish”,”notification_count”:2,”previous_status”:”publish”,”sc_email_link”:”1″,”sc_message”:”
    Your form has been saved as draft and a resume link has been generated so you can return to the form anytime within {retention_period} days from today. Copy and save the link or enter your email address below to have the link sent to your mail.
    These fields weren’t saved to your submission draft: Paypal, Stripe, Signature, Password, Captcha, and Upload. Kindly fill them out before submitting the form.
    “},”client_id”:null,”integration_conditions”:[],”behaviors”:[{“slug”:”behavior-1234-4567″,”label”:””,”autoclose-time”:”5″,”autoclose”:”true”,”newtab”:”sametab”,”thankyou-message”:”Thank you for contacting us, we will be in touch shortly.”,”email-thankyou-message”:””,”manual-thankyou-message”:””,”submission-behaviour”:”behaviour-thankyou”,”redirect-url”:””}],”notifications”:[{“slug”:”notification-1234-4567″,”label”:”Admin Email”,”email-recipients”:”default”,”recipients”:”[email protected]”,”email-subject”:”New Form Entry #{submission_id} for {form_name}”,”email-editor”:”You have a new website form submission:
    {all_fields}

    This message was sent from {site_url}.”,”email-attachment”:”true”,”type”:”default”},{“slug”:”notification-4299-9646″,”email-subject”:”Thank you {name-2}!”,”email-editor”:”You have a new website form submission:
    {all_fields}

    This message was sent from {site_url}.
    “,”label”:”Confirmation”,”recipients”:”{email-1}”,”conditions”:[]}]},”status”:”publish”,”version”:”1.30.2″}

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Nebu John – WPMU DEV Support

    (@wpmudevsupport14)

    Hi @msauer,

    I hope you are keeping well and thank you for reaching out to us.

    Posting form export in the support forum here is likely to get formatted due to security reasons, hence it failed to import the form to a test website at my end.

    Can you please share the export of the form using Google Drive or Pastebin.com so that we can take a closer look at this and help you further?

    We look forward to hearing back from you.

    Kind Regards,
    Nebu John

    Thread Starter msauer

    (@msauer)

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @msauer,

    I could notice the issue, I’m afraid this is more of a bug with ?“is not” condition in PayPal field. The workaround would be to change the visibility condition for the PayPal field as follows:
    https://i.imgur.com/vAU8pSM.png

    Please do check and see whether the above helps.

    Kind Regards,

    Nithin

    Thread Starter msauer

    (@msauer)

    That worked – I appreciate your help. This bug must have come upon less than a year since the form I am fixing was working perfectly last year.

    One more question, the reCaptcha – does that field go before or after the paypal field in forminator to work properly?

    Thank you again. M.

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @msauer !

    Glad to hear that the issue was resolved!

    As for the reCaptcha field – it doesn’t matter where it’s placed in this case, it will work together with other fields as long as it’s there at any position.

    Kind regards,

    Pawe?

    Thread Starter msauer

    (@msauer)

    Thank you very much!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Forminator Plugin Visibility’ is closed to new replies.