Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @wastt

    I hope you are doing well today.

    I made I test on my lab trying to replicate your form and all works fine. What I did in my repeater field is that both selects are using calulations so in the end repeater calculation have this:
    {select-1}+{select-2}*{number-1}

    After repeater field I set up main calculation filed as total value with:
    {calculation-1-*}

    And it calculate things correctly.

    Please export your form, upload it to google drive or dropbox, and share a link in your next reply so we could review that closer.

    Kind Regards,
    Kris

    Thread Starter wastt

    (@wastt)

    Thanks for you replying.

    I did same for my contact form but result is same. I am sharing my contact form code below. Please can you check for me where is my code is wrong.

    {"type":"form","data":{"fields":[{"id":"html-3","element_id":"html-3","form_id":"wrapper-1438-4491","parent_group":"","type":"html","options":[],"cols":"12","conditions":[],"wrapper_id":"wrapper-1438-4491","field_label":"Select the crypto assets to be covered","variations":"Where do you buy, sell, and hold your crypto?\nYou can configure more than one exchange","custom-class":"ta-html"},{"id":"group-2","element_id":"group-2","form_id":"wrapper-7524-9012","parent_group":"","type":"group","options":[],"cols":"12","conditions":[],"wrapper_id":"wrapper-7524-9012","field_label":"Crypto","is_repeater":"true","max_limit":"3","min_limit":"1","min_limit_type":"custom","max_limit_type":"custom"},{"id":"select-1","element_id":"select-1","form_id":"wrapper-4198-3862","parent_group":"group-2","type":"select","options":[{"label":"Exchange option 1","value":"one","limit":"","key":"3660-2642","error":"","default":"1","calculation":"10"},{"label":"Exchange option 2","value":"two","limit":"","key":"4882-1920","error":"","default":"","calculation":"20"},{"label":"Exchange option 3","value":"three","limit":"","default":"","key":"6926-4020","error":"","calculation":"30"}],"cols":"3","conditions":[],"wrapper_id":"wrapper-4198-3862","value_type":"single","field_label":"Exchange","options_bulk_editor":"Exchange option 1;one; 1\nExchange option 2;two; 0\nExchange option 3;three; 0","options_expanded":"1","calculations":"true"},{"id":"select-2","element_id":"select-2","form_id":"wrapper-4198-3862","parent_group":"group-2","type":"select","options":[{"label":"Asset Option 1","value":"one","limit":"","key":"8185-7068","error":"","calculation":"10"},{"label":"Asset Option 2","value":"two","limit":"","key":"5781-8530","error":"","calculation":"20"},{"label":"Asset Option 3","value":"Asset-Option-3","limit":"","default":"","key":"5995-3594","error":"","calculation":"30"}],"cols":"3","conditions":[],"wrapper_id":"wrapper-4198-3862","value_type":"single","field_label":"Asset","options_bulk_editor":"Asset Option 1;one; 0\nAsset Option 2;two; 0\nAsset Option 3;Asset-Option-3; 0","calculations":"true"},{"id":"number-1","element_id":"number-1","form_id":"wrapper-4198-3862","parent_group":"group-2","type":"number","options":[],"cols":"3","conditions":[],"wrapper_id":"wrapper-4198-3862","calculations":"true","limit_min":"1","limit_max":"150","field_label":"Amount","placeholder":"","default_value":"0"},{"id":"html-1","element_id":"html-1","form_id":"wrapper-4198-3862","parent_group":"group-2","type":"html","options":[],"cols":"3","conditions":[],"wrapper_id":"wrapper-4198-3862","field_label":"Amt Donated","variations":"<p>${calculation-1}</p>"},{"id":"calculation-1","element_id":"calculation-1","form_id":"wrapper-3797-2686","parent_group":"group-2","type":"calculation","options":[],"cols":"12","conditions":[],"wrapper_id":"wrapper-3797-2686","field_label":"Amt Donated Calc","formula":"{select-1}+{select-2}*{number-1}","hidden":"1","prefix":"$"},{"id":"calculation-2","element_id":"calculation-2","form_id":"wrapper-2615-3228","parent_group":"","type":"calculation","options":[],"cols":"12","conditions":[],"wrapper_id":"wrapper-2615-3228","field_label":"Total Amt Donated Calc","formula":"{calculation-1-*}","hidden":"1"},{"id":"html-2","element_id":"html-2","form_id":"wrapper-9968-4484","parent_group":"","type":"html","options":[],"cols":"12","conditions":[],"wrapper_id":"wrapper-9968-4484","field_label":"Total Amt Donated","variations":"<p>${calculation-2}</p>"},{"id":"page-break-1","element_id":"page-break-1","form_id":"wrapper-4483-1502","parent_group":"","type":"page-break","options":[],"cols":"12","conditions":[],"wrapper_id":"wrapper-4483-1502","btn_left":"? Previous Step","btn_right":"Next Step ?"},{"id":"html-4","element_id":"html-4","form_id":"wrapper-2111-5139","parent_group":"","type":"html","options":[],"cols":"12","conditions":[],"wrapper_id":"wrapper-2111-5139","field_label":"Select Your Plan","variations":"<p>Choose a plan that works best for you and that meets your insurance goals</p>","custom-class":"ta-html","formid":"wrapper-9209-5177"},{"id":"radio-1","element_id":"radio-1","form_id":"wrapper-4320-4477","parent_group":"","type":"radio","options":[{"label":"Crypto Shield","value":"one","key":"3684-8676","error":""},{"label":"Crypto Shield  +","value":"two","key":"3051-2815","error":""}],"cols":"12","conditions":[],"wrapper_id":"wrapper-4320-4477","value_type":"radio","field_label":"","layout":"vertical","options_bulk_editor":"Crypto Shield ;one; 0\nCrypto Shield  +;two; 0","description":"","required":"1"},{"id":"page-break-2","element_id":"page-break-2","form_id":"wrapper-7212-1176","parent_group":"","type":"page-break","options":[],"cols":"12","conditions":[],"wrapper_id":"wrapper-7212-1176","btn_left":"? Previous Step","btn_right":"Next Step ?"},{"id":"email-1","element_id":"email-1","form_id":"wrapper-4255-9644","parent_group":"","type":"email","options":[],"cols":"12","conditions":[],"wrapper_id":"wrapper-4255-9644","validation":"","placeholder":"","field_label":"Email Address"},{"id":"page-break-4","element_id":"page-break-4","form_id":"wrapper-7989-2154","parent_group":"","type":"page-break","options":[],"cols":"12","conditions":[],"wrapper_id":"wrapper-7989-2154","btn_left":"? Previous Step","btn_right":"Next Step ?"},{"id":"html-5","element_id":"html-5","form_id":"wrapper-7562-2765","parent_group":"","type":"html","options":[],"cols":"12","conditions":[],"wrapper_id":"wrapper-7562-2765","field_label":"Quote Summary","variations":"<p>Based on your information given previously, we<br />created the perfect plan for you!</p>","custom-class":"ta-html","formid":"wrapper-3607-1452"},{"id":"radio-2","element_id":"radio-2","form_id":"wrapper-1816-2361","parent_group":"","type":"radio","options":[{"label":"Annual ($200)","value":"one","key":"3684-8676","error":""},{"label":"Monthly ($300)","value":"two","key":"3051-2815","error":""}],"cols":"12","conditions":[{"element_id":"radio-1","rule":"is","value":"one"}],"wrapper_id":"wrapper-1816-2361","value_type":"radio","field_label":"","layout":"vertical","options_bulk_editor":"Annual ($200) ;one; 0\nMonthly ($300);two; 0"},{"id":"radio-3","element_id":"radio-3","form_id":"wrapper-9566-4238","parent_group":"","type":"radio","options":[{"label":"Annual ($500)","value":"one","key":"3684-8676","error":""},{"label":"Monthly ($400)","value":"two","key":"3051-2815","error":""}],"cols":"12","conditions":[{"element_id":"radio-1","rule":"is","value":"two"}],"wrapper_id":"wrapper-9566-4238","value_type":"radio","field_label":"","layout":"vertical","options_bulk_editor":"Annual ($500) ;one; 0\nMonthly ($400);two; 0","formid":"wrapper-9566-4238"},{"id":"page-break-3","element_id":"page-break-3","form_id":"wrapper-8192-8629","parent_group":"","type":"page-break","options":[],"cols":"12","conditions":[],"wrapper_id":"wrapper-8192-8629","btn_left":"? Previous Step","btn_right":"Next Step ?"},{"id":"html-6","element_id":"html-6","form_id":"wrapper-4553-8890","parent_group":"","type":"html","options":[],"cols":"12","conditions":[],"wrapper_id":"wrapper-4553-8890","field_label":"Checkout","variations":"","custom-class":"ta-html","formid":"wrapper-1021-9046"},{"id":"text-1","element_id":"text-1","form_id":"wrapper-5208-1465","parent_group":"","type":"text","options":[],"cols":"12","conditions":[],"wrapper_id":"wrapper-5208-1465","input_type":"line","limit_type":"characters","field_label":"Question 1","placeholder":""},{"id":"text-2","element_id":"text-2","form_id":"wrapper-7317-7799","parent_group":"","type":"text","options":[],"cols":"12","conditions":[],"wrapper_id":"wrapper-7317-7799","input_type":"line","limit_type":"characters","field_label":"Question 2","placeholder":"","formid":"wrapper-7317-7799"},{"id":"text-3","element_id":"text-3","form_id":"wrapper-1810-1451","parent_group":"","type":"text","options":[],"cols":"12","conditions":[],"wrapper_id":"wrapper-1810-1451","input_type":"line","limit_type":"characters","field_label":"Question 3","placeholder":"","formid":"wrapper-1810-1451"}],"settings":{"pagination-header":"nav","paginationData":{"pagination-header-design":"show","pagination-header":"nav","page-break-1-steps":"Crypto","page-break-2-steps":"Plan","page-break-3-steps":"Summary","last-steps":"Checkout","page-break-4-steps":"Email"},"formName":"Crypto Form","version":"1.22.1","form-border-style":"none","form-padding":"","form-border":"","fields-style":"open","validation":"on_submit","akismet-protection":"0","form-style":"flat","enable-ajax":"true","autoclose":"true","submission-indicator":"show","indicator-label":"Submitting...","form-type":"default","submission-behaviour":"behaviour-thankyou","thankyou-message":"Thank you for contacting us, we will be in touch shortly.","submitData":{"custom-submit-text":"Submit","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":"","submission-file":"delete","store_submissions":"1","form_name":"crypto-form","form_status":"publish","sc_email_link":"1","sc_message":"<p>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.</p><p>These fields weren't saved to your submission draft: Paypal, Stripe, Signature, Password, Captcha, and Upload. Kindly fill them out before submitting the form.</p>"},"client_id":"","integration_conditions":[],"behaviors":[{"slug":"behavior-1234-4567","label":"","autoclose-time":"5","autoclose":"true","newtab":"sametab","thankyou-message":"<p>Thank you for your kind donation!</p>","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: <br /> {all_fields} <br />---<br /> This message was sent from {site_url}.","email-attachment":"true","type":"default","conditions":[]}]},"status":"publish","version":"1.22.1"}
    Thread Starter wastt

    (@wastt)

    @wpmudevsupport13 Please fix this issue early as possible it is very important. It is the last thing that needs to be done in my client website.

    • This reply was modified 1 year, 11 months ago by wastt.
    Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @wastt

    I tested your form on my lab site and it seems to work as it should. Also, I visited your test page shared in your first reply and it look like your form is not working as well. Can you confirm?

    Kind Regards,
    Kris

    Thread Starter wastt

    (@wastt)

    @wpmudevsupport13 Thanks for your reply.

    Now it is good. Actually it was my cache plugin issue I deactivated the cache plugin and then it start working perfectly.

    • This reply was modified 1 year, 11 months ago by wastt.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Calculation issue with repeater field’ is closed to new replies.