Guest User

Forminator - predefined donation with free amount example

a guest
Jul 8th, 2024
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.24 KB | None | 0 0
  1. {"type":"form","data":{"fields":[{"id":"radio-1","element_id":"radio-1","form_id":"wrapper-1958-8500","parent_group":"","type":"radio","options":[{"label":"I want to donate $10","value":"one","key":"3869-4961","error":"","default":"1"},{"label":"I want to donate $35","value":"two","key":"6960-1271","error":"","default":""}],"cols":"12","conditions":[],"wrapper_id":"wrapper-1958-8500","hidden_behavior":"zero","value_type":"radio","field_label":"Your donation","layout":"horizontal","options_bulk_editor":"I want to donate $10;one; 1\nI want to donate $35;two; 0","description":"Select amount or enter your own in the amount field below"},{"id":"number-1","element_id":"number-1","form_id":"wrapper-5425-3567","parent_group":"","type":"number","options":[],"cols":"12","conditions":[{"element_id":"radio-1","rule":"is","value":"one"}],"wrapper_id":"wrapper-5425-3567","hidden_behavior":"zero","calculations":"true","limit_min":"1","limit_max":"150","field_label":"Number","placeholder":"E.g. 10","default_value":"10"},{"id":"number-2","element_id":"number-2","form_id":"wrapper-3702-4524","parent_group":"","type":"number","options":[],"cols":"12","conditions":[{"element_id":"radio-1","rule":"is","value":"two"}],"wrapper_id":"wrapper-3702-4524","hidden_behavior":"zero","calculations":"true","limit_min":"1","limit_max":"150","field_label":"Number","placeholder":"E.g. 10","default_value":"35","formid":"wrapper-3702-4524"},{"id":"calculation-1","element_id":"calculation-1","form_id":"wrapper-2757-9970","parent_group":"","type":"calculation","options":[],"cols":"12","conditions":[],"wrapper_id":"wrapper-2757-9970","hidden_behavior":"zero","field_label":"Calculations","formula":"{number-1}+{number-2}"},{"id":"html-1","element_id":"html-1","form_id":"wrapper-8845-6646","parent_group":"","type":"html","options":[],"cols":"12","conditions":[],"wrapper_id":"wrapper-8845-6646","field_label":"HTML","variations":"<p>CURRENT DONATION AMOUNT: <strong>{calculation-1}</strong></p>"}],"settings":{"pagination-header":"nav","paginationData":{"pagination-header-design":"show","pagination-header":"nav"},"formName":"Donate","version":"1.32.0","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-multiselect-tag-font-family":"Roboto","cform-multiselect-tag-custom-font":"","cform-multiselect-tag-font-size":"12","cform-multiselect-tag-font-weight":"medium","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":"Donate","form_status":"publish","notification_count":0,"previous_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.32.0"}
Advertisement
Add Comment
Please, Sign In to add comment