Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {"type":"form","data":{"fields":[{"id":"number-1","element_id":"number-1","form_id":"wrapper-6761-6582","parent_group":"","type":"number","options":[],"cols":"6","conditions":[],"wrapper_id":"wrapper-6761-6582","hidden_behavior":"zero","calculations":"true","limit_min":"0.1","limit_max":"24","field_label":"Width","placeholder":"E.g. 10","default_value":"1"},{"id":"number-2","element_id":"number-2","form_id":"wrapper-6761-6582","parent_group":"","type":"number","options":[],"cols":"6","conditions":[],"wrapper_id":"wrapper-6761-6582","hidden_behavior":"zero","calculations":"true","limit_min":"0.1","limit_max":"24","field_label":"Height","placeholder":"E.g. 10","default_value":"1","formid":"wrapper-3660-2295"},{"id":"radio-1","element_id":"radio-1","form_id":"wrapper-8741-2704","parent_group":"","type":"radio","options":[{"label":"Sheeted","value":"sheeted","key":"9305-5924","error":"","calculation":"1.1"},{"label":"Single Cut","value":"singlecut","key":"2555-7289","error":"","calculation":"1"},{"label":"Coated","value":"coated","limit":"","default":"","key":"9819-2268","error":"","calculation":"2"}],"cols":"6","conditions":[],"wrapper_id":"wrapper-8741-2704","hidden_behavior":"zero","value_type":"radio","field_label":"Material Delivery","layout":"vertical","options_bulk_editor":"Sheeted;sheeted; 0\nSingle Cut;singlecut; 0\nCoated;coated; 0","options_expanded":"1","required":"1","calculations":"true"},{"id":"number-3","element_id":"number-3","form_id":"wrapper-8741-2704","parent_group":"","type":"number","options":[],"cols":"6","conditions":[],"wrapper_id":"wrapper-8741-2704","hidden_behavior":"zero","calculations":"true","limit_min":"1","limit_max":"999999","field_label":"Quantity","placeholder":"E.g. 10","default_value":"1","precision":"0","required":"1"},{"id":"calculation-1","element_id":"calculation-1","form_id":"wrapper-6572-8225","parent_group":"","type":"calculation","options":[],"cols":"6","conditions":[],"wrapper_id":"wrapper-6572-8225","hidden_behavior":"zero","field_label":"Price per single unit calculated","formula":"(({number-1}*{number-2})*{radio-1})*0.10"},{"id":"calculation-2","element_id":"calculation-2","form_id":"wrapper-6572-8225","parent_group":"","type":"calculation","options":[],"cols":"6","conditions":[],"wrapper_id":"wrapper-6572-8225","hidden_behavior":"zero","field_label":"Total base price (no discounts, no shiipping)","formula":"{calculation-1}*{number-3}"},{"id":"calculation-3","element_id":"calculation-3","form_id":"wrapper-2141-9144","parent_group":"","type":"calculation","options":[],"cols":"12","conditions":[{"element_id":"number-3","rule":"is_less","value":"100"}],"wrapper_id":"wrapper-2141-9144","hidden_behavior":"zero","field_label":"Internal - less than 100 units, no discount","formula":"1","hidden":"","custom-class":"forminator_hidden"},{"id":"calculation-5","element_id":"calculation-5","form_id":"wrapper-9067-2665","parent_group":"","type":"calculation","options":[],"cols":"12","conditions":[{"element_id":"number-3","rule":"is_less","value":"200"},{"element_id":"number-3","rule":"is_great","value":"99"}],"wrapper_id":"wrapper-9067-2665","hidden_behavior":"zero","field_label":"Internal - 100 to 199 units discount","formula":"0.95","hidden":"","custom-class":"forminator_hidden","formid":"wrapper-9067-2665"},{"id":"calculation-6","element_id":"calculation-6","form_id":"wrapper-5511-2055","parent_group":"","type":"calculation","options":[],"cols":"12","conditions":[{"element_id":"number-3","rule":"is_less","value":"500"},{"element_id":"number-3","rule":"is_great","value":"199"}],"wrapper_id":"wrapper-5511-2055","hidden_behavior":"zero","field_label":"Internal - 200 to 499 units discount","formula":"0.9","hidden":"","custom-class":"forminator_hidden","formid":"wrapper-5511-2055"},{"id":"calculation-7","element_id":"calculation-7","form_id":"wrapper-6258-4111","parent_group":"","type":"calculation","options":[],"cols":"12","conditions":[{"element_id":"number-3","rule":"is_less","value":"1000"},{"element_id":"number-3","rule":"is_great","value":"499"}],"wrapper_id":"wrapper-6258-4111","hidden_behavior":"zero","field_label":"Internal - 500 to 999 units discount","formula":"0.85","hidden":"","custom-class":"forminator_hidden","formid":"wrapper-6258-4111"},{"id":"calculation-12","element_id":"calculation-12","form_id":"wrapper-7777-2880","parent_group":"","type":"calculation","options":[],"cols":"12","conditions":[{"element_id":"number-3","rule":"is_less","value":"10000"},{"element_id":"number-3","rule":"is_great","value":"999"}],"wrapper_id":"wrapper-7777-2880","hidden_behavior":"zero","field_label":"Internal - 1000 to 9999 units discount","formula":"0.8","hidden":"","custom-class":"forminator_hidden","formid":"wrapper-7777-2880"},{"id":"calculation-8","element_id":"calculation-8","form_id":"wrapper-3945-5163","parent_group":"","type":"calculation","options":[],"cols":"12","conditions":[{"element_id":"number-3","rule":"is_great","value":"9999"}],"wrapper_id":"wrapper-3945-5163","hidden_behavior":"zero","field_label":"Internal - 10000+ units discount","formula":"0.75","hidden":"","custom-class":"forminator_hidden","formid":"wrapper-3945-5163"},{"id":"calculation-4","element_id":"calculation-4","form_id":"wrapper-5730-3378","parent_group":"","type":"calculation","options":[],"cols":"12","conditions":[],"wrapper_id":"wrapper-5730-3378","hidden_behavior":"zero","field_label":"Total price (shipping not calculated)","formula":"{calculation-2}*({calculation-3}+{calculation-5}+{calculation-6}+{calculation-7}+{calculation-12}+{calculation-8})"},{"id":"calculation-9","element_id":"calculation-9","form_id":"wrapper-3328-6220","parent_group":"","type":"calculation","options":[],"cols":"12","conditions":[{"element_id":"calculation-4","rule":"is_great","value":"98"}],"wrapper_id":"wrapper-3328-6220","hidden_behavior":"zero","field_label":"Total with shipping calculated (free shipping)","formula":"{calculation-4}"},{"id":"calculation-10","element_id":"calculation-10","form_id":"wrapper-1685-5086","parent_group":"","type":"calculation","options":[],"cols":"12","conditions":[{"element_id":"calculation-4","rule":"is_less","value":"99"}],"wrapper_id":"wrapper-1685-5086","hidden_behavior":"zero","field_label":"Total with shipping calculated (paid shipping)","formula":"{calculation-4}+9.95","formid":"wrapper-1685-5086"},{"id":"calculation-11","element_id":"calculation-11","form_id":"wrapper-3456-1205","parent_group":"","type":"calculation","options":[],"cols":"12","conditions":[],"wrapper_id":"wrapper-3456-1205","hidden_behavior":"zero","field_label":"Final to pay","formula":"{calculation-9}+{calculation-10}"}],"settings":{"pagination-header":"nav","paginationData":{"pagination-header-design":"show","pagination-header":"nav"},"formName":"Price Calculation Example","version":"1.24.6","form-border-style":"none","form-padding":"","form-border":"","fields-style":"open","field-image-size":"custom","validation":"on_submit","akismet-protection":"1","form-style":"default","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":"Send Message","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":"price-calculation-example","form_status":"publish"},"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":[]},"status":"publish","version":"1.24.6"}
Advertisement
Add Comment
Please, Sign In to add comment