• Resolved joookooo

    (@joookooo)


    I have created payments options on my page to use the following options:
    (1) cash
    (2) email money transfer
    (3) visa payments

    Visa is the only required field that uses stripe if the user wants to make a visa payment. The stripe visa information is only shown if the user selects the visa option.

    The issue is that the form can’t be submitted unless the user selects and pays with visa. If the user selects cash or email money transfer, the visa information is still required because its a mandatory field.

    The problem would be solved if the stripe payment option wasn’t a mandatory field.

    Does anyone have a solution to this problem?

    • This topic was modified 6 years, 3 months ago by joookooo.
Viewing 9 replies - 1 through 9 (of 9 total)
  • I’m facing this problem, too, but with other hidden-by-conditional required fields. Hope the WPMU Team fix it, soon!

    Plugin Support Laura – WPMU DEV Support

    (@wpmudev-support8)

    Hi @joookooo

    I hope you’re well today!

    Are there any other fields than the selection and Stripe field?

    Stripe field, even though is mandatory can use visibility rules (conditionals) and be hidden if no appropriate selection is made in other field – in such case it shouldn’t prevent the form from submission.

    What’s the error message when you’re trying to submit such form?

    @codimex

    Would you please open a separate ticket about that? I understand that the issue is similar but if it involves different (conditionally hidden) fields it’s very likely caused by different reasons and it’d be better to investigate it separately. If you could, please, start a separate ticket and share the form export in that ticket too it would be very helpful.

    Best regards,
    Adam

    Thread Starter joookooo

    (@joookooo)

    Hi Adam,

    Thanks for your response. I’m using visibility conditions so that the stripe only shows when the user selects visa. Initially, I’m not getting a visible error, but the form won’t submit. Once I change the payment option to visa and the stripe information is shown – I see the error that says your card number is incomplete.

    I’ve tried a few scenarios:

    1) removing stripe – the form submits
    2) adding stripe back with the visibility condition – the form can’t be submitted

    I’ve also create a new form with two fields. One that hides or shows the stripe card based on a yes or no visibility condition. When the answer is no and stripe is hidden, I can’t submit the form.

    I would appreciate your help to get this resolved.

    Thanks.

    Plugin Support Laura – WPMU DEV Support

    (@wpmudev-support8)

    Hi @joookooo

    Thank you for response!

    I must say I still can’t replicate that. I just tested it again with a completely new, simple form (just one select field and a Stripe field showing based on the choice there) and it works as expected – form submits correctly in both cases.

    I suppose I might be missing something specific in form configuration or it’s specific to the site setup but we’d need to test it more. Could you please export one of the forms that are not working for you and share it with us here for further testing?

    There’s an “Export” option under the little “gear” icon next to the form on the “Forminator -> Forms” page and it will give you a code that you can copy and paste here (please mark it as “code” when posting, using “code” option of this message editor).

    Best regards,
    Adam

    Thread Starter joookooo

    (@joookooo)

    Hi Adam,

    Appreciate your feedback. Here is a form that I’m having an issue with:

    {"type":"form","data":{"fields":[{"id":"section-1","element_id":"section-1","form_id":"wrapper-3033-3835","type":"section","options":[],"cols":12,"conditions":[],"wrapper_id":"wrapper-3033-3835","section_title":"Athlete Information","cform-section-border-style":"none"},{"id":"name-1","element_id":"name-1","form_id":"wrapper-8671-6054","type":"name","options":[],"cols":12,"conditions":[],"wrapper_id":"wrapper-8671-6054","field_label":"Name","placeholder":"E.g. John Doe or Jane 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":false,"fname":"true","mname":false,"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.","multiple_name":"true","fname_required":true,"lname_required":true},{"id":"select-1","element_id":"select-1","form_id":"wrapper-5708-9230","type":"select","options":[{"label":"Select Gender","value":"select-gender","limit":"","default":false},{"label":"Male","value":"male","limit":"","default":false},{"label":"Female","value":"female","limit":"","default":false}],"cols":4,"conditions":[],"wrapper_id":"wrapper-5708-9230","value_type":"single","field_label":"Gender","placeholder":"","search_status":"enable","required":true,"required_message":"Gender is required."},{"id":"date-1","element_id":"date-1","form_id":"wrapper-5708-9230","type":"date","options":[],"cols":4,"conditions":[],"wrapper_id":"wrapper-5708-9230","field_type":"picker","date_format":"mm/dd/yy","default_date":"today","field_label":"Birthday","placeholder":"Choose Date","icon":"true","day_label":"Day","day_placeholder":"E.g. 01","month_label":"Month","month_placeholder":"E.g. 01","year_label":"Year","year_placeholder":"E.g. 2000","required":true,"required_message":"Birthday is required."},{"id":"select-2","element_id":"select-2","form_id":"wrapper-5708-9230","type":"select","options":[{"label":"Select Grade","value":"select-grade","limit":"","default":false},{"label":"JK","value":"jk","limit":"","default":false},{"label":"SK","value":"sk","limit":"","default":false},{"label":"1","value":"1","limit":""},{"label":"2","value":"2","limit":"","default":false},{"label":"3","value":"3","limit":"","default":false},{"label":"4","value":"4","limit":"","default":false},{"label":"5","value":"5","limit":"","default":false},{"label":"6","value":"6","limit":"","default":false},{"label":"7","value":"7","limit":"","default":false},{"label":"8","value":"8","limit":"","default":false},{"label":"9","value":"9","limit":"","default":false},{"label":"10","value":"10","limit":"","default":false},{"label":"11","value":"11","limit":"","default":false},{"label":"12","value":"12","limit":"","default":false}],"cols":4,"conditions":[],"wrapper_id":"wrapper-5708-9230","value_type":"single","field_label":"Grade","search_status":"enable","limit_status":"disable","required":true,"required_message":"Grade is required."},{"id":"address-1","element_id":"address-1","form_id":"wrapper-832-2405","type":"address","options":[],"cols":12,"conditions":[],"wrapper_id":"wrapper-832-2405","street_address":true,"address_city":true,"address_state":true,"address_zip":true,"address_country":true,"address_line":true,"street_address_label":"Street Address","street_address_placeholder":"E.g. 42 Wallaby Way","address_city_label":"City","address_city_placeholder":"E.g. Toronto","address_state_label":"Province","address_state_placeholder":"E.g. Ontario","address_zip_label":"Postal Code","address_zip_placeholder":"E.g. X#X #X#","address_country_label":"Country","address_line_label":"Apartment, suite, etc","street_address_required_message":"This field is required. Please enter the street address.","address_zip_required_message":"This field is required. Please enter the postal code.","address_country_required_message":"This field is required. Please select the country.","address_city_required_message":"This field is required. Please enter the city.","address_state_required_message":"This field is required. Please enter the province.","address_line_required_message":"This field is required. Please enter address line.","street_address_required":true,"address_country_description":"Select Country","address_country_placeholder":"Canada","address_city_required":true,"address_state_required":true,"address_zip_required":true},{"id":"phone-1","element_id":"phone-1","form_id":"wrapper-9268-8605","type":"phone","options":[],"cols":12,"conditions":[],"wrapper_id":"wrapper-9268-8605","required":false,"limit":10,"limit_type":"characters","validation":"true","phone_validation_type":"standard","field_label":"Player Cell Number","placeholder":"E.g. +1 300 400 5000","phone_national_country":"CA","validation_message":"Please enter the cell number in the correct format.","description":"Leave blank if the athlete does not have a phone number."},{"id":"text-1","element_id":"text-1","form_id":"wrapper-534-656","type":"text","options":[],"cols":12,"conditions":[],"wrapper_id":"wrapper-534-656","input_type":"line","limit_type":"characters","field_label":"School","placeholder":"E.g. School","default":"","description":"Current School","required":true,"required_message":"Current school is required."},{"id":"select-3","element_id":"select-3","form_id":"wrapper-2125-7879","type":"select","options":[{"label":"Select Top Size","value":"select-top-size","limit":"","default":false},{"label":"Youth S","value":"youth-s","limit":""},{"label":"Youth M","value":"youth-m","limit":""},{"label":"Youth L","value":"youth-l","limit":"","default":false},{"label":"Youth XL","value":"youth-xl","limit":"","default":false},{"label":"Adult S","value":"adult-s","limit":"","default":false},{"label":"Adult M","value":"adult-m","limit":"","default":false},{"label":"Adult L","value":"adult-l","limit":"","default":false},{"label":"Adult XL","value":"adult-xl","limit":"","default":false},{"label":"Adult XXL","value":"adult-xxl","limit":"","default":false}],"cols":4,"conditions":[],"wrapper_id":"wrapper-2125-7879","value_type":"single","field_label":"Top Size","description":"Youth and Men's Sizes","search_status":"enable","required":true,"required_message":"Top size is required."},{"id":"select-4","element_id":"select-4","form_id":"wrapper-2125-7879","type":"select","options":[{"label":"Select Bottom Size","value":"select-bottom-size","limit":"","default":false},{"label":"Youth S","value":"youth-s","limit":""},{"label":"Youth M","value":"youth-m","limit":""},{"label":"Youth L","value":"youth-l","limit":"","default":false},{"label":"Youth XL","value":"youth-xl","limit":"","default":false},{"label":"Adult S","value":"adult-s","limit":"","default":false},{"label":"Adult M","value":"adult-m","limit":"","default":false},{"label":"Adult L","value":"adult-l","limit":"","default":false},{"label":"Adult XL","value":"adult-xl","limit":"","default":false},{"label":"Adult XXL","value":"adult-xxl","limit":"","default":false}],"cols":4,"conditions":[],"wrapper_id":"wrapper-2125-7879","value_type":"single","field_label":"Bottom Size","formid":"wrapper-5271-2177","description":"Youth and Men's Sizes","search_status":"enable","required":true,"required_message":"Bottom size is required."},{"id":"select-10","element_id":"select-10","form_id":"wrapper-2125-7879","type":"select","options":[{"label":"Select Shoe Size","value":"select-shoe-size","limit":"","default":false},{"label":"Youth 1","value":"youth-1","limit":"","default":false},{"label":"Youth 1.5","value":"youth-15","limit":"","default":false},{"label":"Youth 2","value":"youth-2","limit":"","default":false},{"label":"Youth 2.5","value":"youth-25","limit":"","default":false},{"label":"Youth 3","value":"youth-3","limit":"","default":false},{"label":"Youth 3.5","value":"youth-35","limit":""},{"label":"Youth 4","value":"youth-4","limit":""},{"label":"Youth 4.5","value":"youth-45","limit":"","default":false},{"label":"Youth 5","value":"youth-5","limit":"","default":false},{"label":"Youth 5.5","value":"youth-55","limit":"","default":false},{"label":"Youth 6","value":"youth-6","limit":"","default":false},{"label":"Youth 6.5","value":"youth-65","limit":"","default":false},{"label":"Youth 7","value":"youth-7","limit":"","default":false},{"label":"Adult 8","value":"adult-8","limit":"","default":false},{"label":"Adult 8.5","value":"adult-85","limit":"","default":false},{"label":"Adult 9","value":"adult-9","limit":"","default":false},{"label":"Adult 9.5","value":"adult-95","limit":"","default":false},{"label":"Adult 10","value":"adult-10","limit":"","default":false},{"label":"Adult 10.5","value":"adult-105","limit":"","default":false},{"label":"Adult 11","value":"adult-11","limit":"","default":false},{"label":"Adult 11.5","value":"adult-115","limit":"","default":false},{"label":"Adult 12","value":"adult-12","limit":"","default":false},{"label":"Adult 12.5","value":"adult-125","limit":"","default":false},{"label":"Adult 13","value":"adult-13","limit":"","default":false},{"label":"Adult 13.5","value":"adult-135","limit":"","default":false},{"label":"Adult 14","value":"adult-14","limit":"","default":false},{"label":"Adult 14.5","value":"adult-145","limit":"","default":false},{"label":"Adult 15","value":"adult-15","limit":"","default":false}],"cols":4,"conditions":[],"wrapper_id":"wrapper-2125-7879","value_type":"single","field_label":"Shoe Size","formid":"wrapper-6571-2950","description":"Youth and Men's Sizes","search_status":"enable","required":true,"required_message":"Shoe size is required."},{"id":"textarea-1","element_id":"textarea-1","form_id":"wrapper-8416-7336","type":"textarea","options":[],"cols":12,"conditions":[],"wrapper_id":"wrapper-8416-7336","input_type":"line","limit_type":"characters","field_label":"Please let us know if your athlete has any food allergies and/or special dietary needs?","placeholder":"","limit":"30","editor-type":"false"},{"id":"page-break-1","element_id":"page-break-1","form_id":"wrapper-7980-6038","type":"page-break","options":[],"cols":12,"conditions":[],"wrapper_id":"wrapper-7980-6038","btn_left":"« Previous Step","btn_right":"Next Step »"},{"id":"section-2","element_id":"section-2","form_id":"wrapper-7438-9373","type":"section","options":[],"cols":12,"conditions":[],"wrapper_id":"wrapper-7438-9373","section_title":"Primary Contact Information","cform-section-border-style":"none"},{"id":"name-2","element_id":"name-2","form_id":"wrapper-6092-7031","type":"name","options":[],"cols":12,"conditions":[],"wrapper_id":"wrapper-6092-7031","field_label":"Name","placeholder":"E.g. John Doe or Jane 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":false,"fname":"true","mname":false,"lname":"true","required_message":"Name is required.","prefix_required_message":"Prefix is required.","fname_required_message":"Primary Contact's First Name is required.","mname_required_message":"Middle Name is required.","lname_required_message":"Primary Contact's Last Name is required.","multiple_name":"true","formid":"wrapper-7048-8159","fname_required":true,"lname_required":true},{"id":"phone-2","element_id":"phone-2","form_id":"wrapper-3489-3780","type":"phone","options":[],"cols":12,"conditions":[],"wrapper_id":"wrapper-3489-3780","required":true,"limit":10,"limit_type":"characters","validation":"true","phone_validation_type":"standard","field_label":"Cell Number","placeholder":"E.g. +1 300 400 5000","phone_national_country":"CA","validation_message":"Please enter the cell number in the correct format.","description":"Leave blank if the athlete does not have a phone number.","formid":"wrapper-2885-3351","required_message":"Primary Contact's Cell Number is required."},{"id":"email-1","element_id":"email-1","form_id":"wrapper-9008-1691","type":"email","options":[],"cols":12,"conditions":[],"wrapper_id":"wrapper-9008-1691","validation":false,"placeholder":"E.g. john@doe.com","field_label":"Email Address","required":true,"required_message":"Primary Contact's Email Address is required."},{"id":"select-11","element_id":"select-11","form_id":"wrapper-6100-8917","type":"select","options":[{"label":"Not interested","value":"not-interested","limit":"","default":false},{"label":"Score-keeping","value":"scorekeeping","limit":""},{"label":"Photography","value":"photography","limit":""},{"label":"Videotaping","value":"videotaping","limit":"","default":false},{"label":"Assisting with transportation","value":"assisting-with-transportation","limit":"","default":false},{"label":"Fundraising","value":"fundraising","limit":"","default":false}],"cols":12,"conditions":[],"wrapper_id":"wrapper-6100-8917","value_type":"multiselect","field_label":"Are you interested in volunteering:","placeholder":"I am interesting in volunteering to help with...","description":"Select the applicable item(s)."},{"id":"section-3","element_id":"section-3","form_id":"wrapper-7762-5320","type":"section","options":[],"cols":12,"conditions":[],"wrapper_id":"wrapper-7762-5320","section_title":"Secondary Contact Information","cform-section-border-style":"none","formid":"wrapper-9935-7202"},{"id":"name-3","element_id":"name-3","form_id":"wrapper-3559-9796","type":"name","options":[],"cols":12,"conditions":[],"wrapper_id":"wrapper-3559-9796","field_label":"Name","placeholder":"E.g. John Doe or Jane 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":false,"fname":"true","mname":false,"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.","multiple_name":"true","formid":"wrapper-1278-2841"},{"id":"phone-3","element_id":"phone-3","form_id":"wrapper-7792-4028","type":"phone","options":[],"cols":12,"conditions":[],"wrapper_id":"wrapper-7792-4028","required":false,"limit":10,"limit_type":"characters","validation":"true","phone_validation_type":"standard","field_label":"Cell Number","placeholder":"E.g. +1 300 400 5000","phone_national_country":"CA","validation_message":"Please enter the cell number in the correct format.","description":"Leave blank if the athlete does not have a phone number.","formid":"wrapper-3759-436"},{"id":"email-2","element_id":"email-2","form_id":"wrapper-7445-6939","type":"email","options":[],"cols":12,"conditions":[],"wrapper_id":"wrapper-7445-6939","validation":false,"placeholder":"E.g. john@doe.com","field_label":"Email Address","formid":"wrapper-4036-1664"},{"id":"select-12","element_id":"select-12","form_id":"wrapper-5312-3108","type":"select","options":[{"label":"Not interested","value":"not-interested","limit":"","default":false},{"label":"Score-keeping","value":"scorekeeping","limit":""},{"label":"Photography","value":"photography","limit":""},{"label":"Videotaping","value":"videotaping","limit":"","default":false},{"label":"Assisting with transportation","value":"assisting-with-transportation","limit":"","default":false},{"label":"Fundraising","value":"fundraising","limit":"","default":false}],"cols":12,"conditions":[],"wrapper_id":"wrapper-5312-3108","value_type":"multiselect","field_label":"Are you interested in volunteering:","placeholder":"I am interesting in volunteering to help with...","description":"Select the applicable item(s).","formid":"wrapper-1125-4545"},{"id":"page-break-2","element_id":"page-break-2","form_id":"wrapper-3082-671","type":"page-break","options":[],"cols":12,"conditions":[],"wrapper_id":"wrapper-3082-671","btn_left":"« Previous Step","btn_right":"Next Step »"},{"id":"section-4","element_id":"section-4","form_id":"wrapper-9380-8213","type":"section","options":[],"cols":12,"conditions":[],"wrapper_id":"wrapper-9380-8213","section_title":"Select Program & Payment Method","cform-section-border-style":"none"},{"id":"select-5","element_id":"select-5","form_id":"wrapper-3210-5617","type":"select","options":[{"label":"Select Program","value":"select-program","limit":"","calculation":"0","default":false},{"label":"Youthful Expressions Basketball Camp - 7 Weeks","value":"youthful-expressions-basketball-camp-7-weeks","limit":"","calculation":"995","default":false},{"label":"Youthful Expressions Basketball Camp - Weekly","value":"youthful-expressions-basketball-camp-weekly","limit":"","default":false,"calculation":"0"},{"label":"Find A Way Pro Basketball Academy - 7 Weeks","value":"find-a-way-pro-basketball-academy-7-weeks","limit":"","default":false,"calculation":"1275"},{"label":"Find A Way Pro Basketball Academy - Weekly","value":"find-a-way-pro-basketball-academy-weekly","limit":"","default":false,"calculation":"0"},{"label":"Find A Way Premium Basketball Academy - 7 Weeks","value":"find-a-way-premium-basketball-academy-7-weeks","limit":"","default":false,"calculation":"1875"}],"cols":12,"conditions":[],"wrapper_id":"wrapper-3210-5617","value_type":"single","field_label":"Program","description":"Select 2020 Summer Academy or Clinic","calculations":"true","required":false,"required_message":"Selecting a Program is required."},{"id":"select-6","element_id":"select-6","form_id":"wrapper-713-2244","type":"select","options":[{"label":"Select Week(s)","value":"select-weeks","limit":"","default":false,"calculation":"0"},{"label":"Youthful Expressions Week 1 - Jun 29 to July 3","value":"youthful-expressions-week-1-jun-29-to-july-3","limit":"","calculation":"185"},{"label":"Youthful Expressions Week 2 - Jul 6 to Jul 10 ","value":"youthful-expressions-week-2-jul-6-to-jul-10","limit":"","default":false,"calculation":"185"},{"label":"Youthful Expressions Week 3 - July 13 to Jul 17 ","value":"youthful-expressions-week-3-july-13-to-jul-17","limit":"","default":false,"calculation":"185"},{"label":"Youthful Expressions Week 4 - Jul 20 to Jul 24 ","value":"youthful-expressions-week-4-jul-20-to-jul-24","limit":"","default":false,"calculation":"185"},{"label":"Youthful Expressions Week 5 - Jul 27 to Jul 31","value":"youthful-expressions-week-5-jul-27-to-jul-31","limit":"","default":false,"calculation":"185"},{"label":"Youthful Expressions Week 6 - Aug 3 to Aug 7 ","value":"youthful-expressions-week-6-aug-3-to-aug-7","limit":"","default":false,"calculation":"185"},{"label":"Youthful Expressions Week 7 - Aug 10 to Aug 14 ","value":"youthful-expressions-week-7-aug-10-to-aug-14","limit":"","default":false,"calculation":"185"}],"cols":12,"conditions":[{"element_id":"select-5","rule":"is","value":"youthful-expressions-basketball-camp-weekly"}],"wrapper_id":"wrapper-713-2244","value_type":"multiselect","field_label":"Select Program Week(s)","description":"Register for 1 to 7 Individual Weeks of Preferred Program","calculations":"true","condition_action":"show","condition_rule":"any","required":false,"required_message":"Selecting Program Weeks is required."},{"id":"select-9","element_id":"select-9","form_id":"wrapper-5757-1117","type":"select","options":[{"label":"Select Week(s)","value":"select-weeks","limit":"","default":false,"calculation":"0"},{"label":"Find A Way Week 1 - Jun 29 to July 3","value":"find-a-way-week-1-jun-29-to-july-3","limit":"","default":false,"calculation":"225"},{"label":"Find A Way Week 2 - Jul 6 to Jul 10","value":"find-a-way-week-2-jul-6-to-jul-10","limit":"","default":false,"calculation":"225"},{"label":"Find A Way Week 3 - July 13 to Jul 17","value":"find-a-way-week-3-july-13-to-jul-17","limit":"","default":false,"calculation":"225"},{"label":"Find A Way Week 4 - Jul 20 to Jul 24 ","value":"find-a-way-week-4-jul-20-to-jul-24","limit":"","default":false,"calculation":"225"},{"label":"Find A Way Week 5 - Jul 27 to Jul 31","value":"find-a-way-week-5-jul-27-to-jul-31","limit":"","default":false,"calculation":"225"},{"label":"Find A Way Week 6 - Aug 3 to Aug 7","value":"find-a-way-week-6-aug-3-to-aug-7","limit":"","default":false,"calculation":"225"},{"label":"Find A Way Week 7 - Aug 10 to Aug 14","value":"find-a-way-week-7-aug-10-to-aug-14","limit":"","default":false,"calculation":"225"}],"cols":12,"conditions":[{"element_id":"select-5","rule":"is","value":"find-a-way-pro-basketball-academy-weekly"}],"wrapper_id":"wrapper-5757-1117","value_type":"multiselect","field_label":"Select Program Week(s)","description":"Register for 1 to 7 Individual Weeks of Preferred Program","calculations":"true","condition_action":"show","condition_rule":"any","formid":"wrapper-5757-1117","required":false,"required_message":"Selecting Program Weeks is required."},{"id":"select-7","element_id":"select-7","form_id":"wrapper-1464-9190","type":"select","options":[{"label":"Not Required","value":"not-required","limit":"","default":false,"calculation":"0"},{"label":"Week 1 - Jun 29 to July 3","value":"week-1-jun-29-to-july-3","limit":"","calculation":"50"},{"label":"Week 2 - Jul 6 to Jul 10","value":"week-2-jul-6-to-jul-10","limit":"","default":false,"calculation":"50"},{"label":"Week 3 - July 13 to Jul 17","value":"week-3-july-13-to-jul-17","limit":"","default":false,"calculation":"50"},{"label":"Week 4 - Jul 20 to Jul 24","value":"week-4-jul-20-to-jul-24","limit":"","default":false,"calculation":"50"},{"label":"Week 5 - Jul 27 to Jul 31","value":"week-5-jul-27-to-jul-31","limit":"","default":false,"calculation":"50"},{"label":"Week 6 - Aug 3 to Aug 7","value":"week-6-aug-3-to-aug-7","limit":"","default":false,"calculation":"50"},{"label":"Week 7 - Aug 10 to Aug 14","value":"week-7-aug-10-to-aug-14","limit":"","default":false,"calculation":"50"}],"cols":12,"conditions":[{"element_id":"select-5","rule":"is","value":"youthful-expressions-basketball-camp-7-weeks"},{"element_id":"select-5","rule":"is","value":"youthful-expressions-basketball-camp-weekly"},{"element_id":"select-5","rule":"is","value":"find-a-way-pro-basketball-academy-7-weeks"},{"element_id":"select-5","rule":"is","value":"find-a-way-pro-basketball-academy-weekly"},{"element_id":"select-5","rule":"is","value":"find-a-way-premium-basketball-academy-7-weeks"}],"wrapper_id":"wrapper-1464-9190","value_type":"multiselect","field_label":"Before/After Extended Hours Care","description":"Extended Supervision Avaialable between 7-9am and 4-6pm","calculations":"true","condition_action":"show","formid":"wrapper-1464-9190","condition_rule":"any"},{"id":"select-8","element_id":"select-8","form_id":"wrapper-6955-3717","type":"select","options":[{"label":"Email Money Transfer ","value":"email-money-transfer","limit":"","calculation":"1"},{"label":"Visa","value":"visa","limit":"","calculation":"1.03"},{"label":"Cheque ","value":"cheque","limit":"","default":false,"calculation":"1.03"},{"label":"Cash","value":"cash","limit":"","default":false,"calculation":"1.03"}],"cols":12,"conditions":[],"wrapper_id":"wrapper-6955-3717","value_type":"single","field_label":"Payment Method","description":"Email Money Transfer Preferred - Service Fee of 3% for Payments via Visa, Cash or Cheque","calculations":"true","required":false,"required_message":"Selecting Payment Method is required."},{"id":"calculation-1","element_id":"calculation-1","form_id":"wrapper-3838-2438","type":"calculation","options":[],"cols":12,"conditions":[],"wrapper_id":"wrapper-3838-2438","field_label":"Grand Total","placeholder":"E.g. Calculated Value","formula":"({select-5}+{select-6}+{select-7}+{select-9})*{select-8}","condition_rule":"any","hidden":false},{"id":"section-5","element_id":"section-5","form_id":"wrapper-8558-1504","type":"section","options":[],"cols":12,"conditions":[{"element_id":"select-8","rule":"is","value":"visa"}],"wrapper_id":"wrapper-8558-1504","section_title":"Visa Payment Information","cform-section-border-style":"none"},{"id":"stripe-1","element_id":"stripe-1","form_id":"wrapper-1900-5387","type":"stripe","options":[],"cols":12,"conditions":[{"element_id":"select-8","rule":"is","value":"visa"}],"wrapper_id":"wrapper-1900-5387","field_label":"Credit Card","mode":"test","currency":"CAD","amount_type":"variable","logo":"","company_name":"","product_description":"","customer_email":"{email-1}","receipt":"true","billing":"false","verify_zip":"false","card_icon":"true","language":"auto","base_class":"StripeElement","complete_class":"StripeElement--complete","empty_class":"StripeElement--empty","focused_class":"StripeElement--focus","invalid_class":"StripeElement--invalid","autofilled_class":"StripeElement--webkit-autofill","variable":"calculation-1","description":""},{"id":"gdprcheckbox-1","element_id":"gdprcheckbox-1","form_id":"wrapper-2783-5959","type":"gdprcheckbox","options":[],"cols":12,"conditions":[],"wrapper_id":"wrapper-2783-5959","required":"true","field_label":"GDPR","gdpr_description":"Yes, I agree with <a href=\"#\">privacy policy</a>, <a href=\"#\">terms and condition</a>","required_message":"This field is required. Please check it."}],"settings":{"pagination-header":"nav","paginationData":{"pagination-header-design":"show","pagination-header":"bar","page-break-1-steps":"Athlete Information","last-steps":"Program, Fees & Submission","page-break-2-steps":"Parent/Gaurdian Information"},"formName":"Forminator Test Form","version":"1.11.3","form-border-style":"none","form-padding":"","form-border":"","fields-style":"open","validation":"on_submit","form-style":"default","enable-ajax":"true","autoclose":"true","submission-indicator":"show","indicator-label":"Submitting...","submission-behaviour":"behaviour-hide","thankyou-message":"<p>Thank you for registering {name-1-first-name} in the {select-5}.</p>\n<p> </p>","submitData":{"custom-submit-text":"Submit Registration + Payment","custom-invalid-form-message":"Error: Your form is not valid, please fix the errors!"},"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":"1","submission-file":"delete","form_status":"draft","form_name":"registrations_backup","form-font-family":"","autoclose-time":"20"},"client_id":null,"notifications":[{"slug":"notification-1234-4567","label":"Admin Email","email-recipients":"default","recipients":"test@gmail.com","email-subject":"New Form Entry #{submission_id} for {form_name}","email-editor":"You have a new website form submission: <br/> {all_fields} <br/>---<br/> This message was sent from {site_url}."}]},"status":"publish","version":"1.11.3"}

    Thanks.

    • This reply was modified 6 years, 3 months ago by joookooo.

    Hello,

    I’m having a similar problem with Stripe too. Hoping to get it fixed soon!

    Best regards, Waltteri

    Thread Starter joookooo

    (@joookooo)

    Hi Adam,

    Were you able to review the code that I provided?

    Thanks.

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @joookooo

    I hope you are doing well!

    I’ve imported your form and see that you are trying to apply conditional options, allow to user to pay now or just submit the form.

    A conditional payment is not a part of the Forminator plugin yet. The form can’t be submitted because the calculation filed is not equal with 0, and when this happens, Stripe requires a payment to be made.

    I’m afraid it is not possible to achieve this yet, with the Forminator plugin. However, this feature is under development and will be released in the future.

    For now, as a workaround, you can try using two different forms, one that will accept only Stripe Payment, and the other that will allow submitting the form.

    Have a good day!

    Cheers,
    Nastia

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello there @joookooo

    I hope you are doing well!

    We haven’t heard back from you for a while now so we’ve marked this ticket as resolved. If you do have any followup questions or require further assistance feel free to reopen it and let us know here.

    Kind regards,
    Nastia

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Can’t submit form with hidden required field’ is closed to new replies.