Created
July 11, 2015 20:37
-
-
Save badlydrawnben/d80f2408c9a8b0c7df94 to your computer and use it in GitHub Desktop.
Gravity Forms - Charity Donation form example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"0":{"labelPlacement":"top_label","useCurrentUserAsAuthor":"1","title":"Biscuits Donation Form","descriptionPlacement":"below","button":{"type":"text","text":"Make a Secure Donation"},"fields":[{"type":"section","adminLabel":"","adminOnly":"","allowsPrepopulate":"","defaultValue":"","description":"","content":"","cssClass":"","errorMessage":"","id":"15","inputName":"","isRequired":"","label":"","noDuplicates":"","size":"medium","postCustomFieldName":"","displayAllCategories":"","displayCaption":"","displayDescription":"","displayTitle":"","inputType":"","rangeMin":"","rangeMax":"","calendarIconUrl":"","dateFormat":"","phoneFormat":"","defaultCountry":"","defaultProvince":"","defaultState":"","hideAddress2":"","hideCountry":"","hideState":"","inputs":"","nameFormat":"","allowedExtensions":"","captchaType":"","captchaTheme":"","simpleCaptchaSize":"","simpleCaptchaFontColor":"","simpleCaptchaBackgroundColor":"","failed_validation":"","productField":"","enablePasswordInput":"","maxLength":"","enablePrice":"","basePrice":"","displayOnly":"1","formId":2,"descriptionPlacement":"below","choices":"","conditionalLogic":""},{"type":"product","adminLabel":"","adminOnly":"","allowsPrepopulate":false,"defaultValue":"","description":"","content":"","cssClass":"","errorMessage":"","id":"19","inputName":"","isRequired":"1","label":"Donation amount","noDuplicates":"","size":"medium","postCustomFieldName":"","displayAllCategories":false,"displayCaption":"","displayDescription":"","displayTitle":"","inputType":"price","rangeMin":"","rangeMax":"","calendarIconUrl":"","dateFormat":"","phoneFormat":"","defaultCountry":"","defaultProvince":"","defaultState":"","hideAddress2":"","hideCountry":"","hideState":"","inputs":"","nameFormat":"","allowedExtensions":"","captchaType":"","captchaTheme":"","simpleCaptchaSize":"","simpleCaptchaFontColor":"","simpleCaptchaBackgroundColor":"","failed_validation":"","productField":"","enablePasswordInput":"","maxLength":"","enablePrice":"","basePrice":"\u00a3 0.00","disableQuantity":true,"formId":2,"descriptionPlacement":"below","displayOnly":"","labelPlacement":"","subLabelPlacement":"","placeholder":"\u00a3","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","inputMask":false,"inputMaskValue":"","choices":"","conditionalLogic":""},{"type":"name","adminLabel":"","adminOnly":"","allowsPrepopulate":"","defaultValue":"","description":"","content":"","cssClass":"","errorMessage":"","id":"2","inputName":"","isRequired":"","label":"Name","noDuplicates":"","size":"medium","postCustomFieldName":"","displayAllCategories":"","displayCaption":"","displayDescription":"","displayTitle":"","inputType":"","rangeMin":"","rangeMax":"","calendarIconUrl":"","dateFormat":"","phoneFormat":"","defaultCountry":"","defaultProvince":"","defaultState":"","hideAddress2":"","hideCountry":"","hideState":"","inputs":[{"id":"2.3","label":"First"},{"id":"2.6","label":"Last"}],"nameFormat":"","allowedExtensions":"","captchaType":"","captchaTheme":"","simpleCaptchaSize":"","simpleCaptchaFontColor":"","simpleCaptchaBackgroundColor":"","failed_validation":"","productField":"","enablePasswordInput":"","maxLength":"","enablePrice":"","basePrice":"","formId":2,"descriptionPlacement":"below","displayOnly":"","choices":"","conditionalLogic":""},{"type":"email","adminLabel":"","adminOnly":"","allowsPrepopulate":"","defaultValue":"","description":"","content":"","cssClass":"","errorMessage":"","id":"4","inputName":"","isRequired":"1","label":"Email","noDuplicates":"","size":"medium","postCustomFieldName":"","displayAllCategories":"","displayCaption":"","displayDescription":"","displayTitle":"","inputType":"","rangeMin":"","rangeMax":"","calendarIconUrl":"","dateFormat":"","phoneFormat":"","defaultCountry":"","defaultProvince":"","defaultState":"","hideAddress2":"","hideCountry":"","hideState":"","inputs":"","nameFormat":"","allowedExtensions":"","captchaType":"","captchaTheme":"","simpleCaptchaSize":"","simpleCaptchaFontColor":"","simpleCaptchaBackgroundColor":"","failed_validation":"","productField":"","enablePasswordInput":"","maxLength":"","enablePrice":"","basePrice":"","formId":2,"descriptionPlacement":"below","displayOnly":"","choices":"","conditionalLogic":""},{"type":"address","adminLabel":"","adminOnly":"","allowsPrepopulate":false,"defaultValue":"","description":"","content":"","cssClass":"biscuit-address","errorMessage":"","id":"3","inputName":"","isRequired":false,"label":"Address","noDuplicates":"","size":"medium","postCustomFieldName":"","displayAllCategories":false,"displayCaption":"","displayDescription":"","displayTitle":"","inputType":"","rangeMin":"","rangeMax":"","calendarIconUrl":"","dateFormat":"","phoneFormat":"","addressType":"international","defaultCountry":"United Kingdom","defaultProvince":"","defaultState":"","hideAddress2":true,"hideCountry":false,"hideState":true,"inputs":[{"id":"3.1","label":"Street Address"},{"id":"3.2","label":"Address Line 2"},{"id":"3.3","label":"City"},{"id":"3.4","label":"State \/ Province"},{"id":"3.5","label":"ZIP \/ Postal Code"},{"id":"3.6","label":"Country"}],"nameFormat":"","allowedExtensions":"","captchaType":"","captchaTheme":"","simpleCaptchaSize":"","simpleCaptchaFontColor":"","simpleCaptchaBackgroundColor":"","failed_validation":"","productField":"","enablePasswordInput":"","maxLength":"","enablePrice":"","basePrice":"","formId":2,"descriptionPlacement":"below","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"inputMask":false,"inputMaskValue":"","displayOnly":"","choices":"","conditionalLogic":""},{"type":"section","adminLabel":"","adminOnly":"","allowsPrepopulate":"","defaultValue":"","description":"","content":"","cssClass":"","errorMessage":"","id":"12","inputName":"","isRequired":"","label":"","noDuplicates":"","size":"medium","postCustomFieldName":"","displayAllCategories":"","displayCaption":"","displayDescription":"","displayTitle":"","inputType":"","rangeMin":"","rangeMax":"","calendarIconUrl":"","dateFormat":"","phoneFormat":"","defaultCountry":"","defaultProvince":"","defaultState":"","hideAddress2":"","hideCountry":"","hideState":"","inputs":"","nameFormat":"","allowedExtensions":"","captchaType":"","captchaTheme":"","simpleCaptchaSize":"","simpleCaptchaFontColor":"","simpleCaptchaBackgroundColor":"","failed_validation":"","productField":"","enablePasswordInput":"","maxLength":"","enablePrice":"","basePrice":"","displayOnly":"1","formId":2,"descriptionPlacement":"below","choices":"","conditionalLogic":""},{"type":"radio","adminLabel":"","adminOnly":"","allowsPrepopulate":"","defaultValue":"","description":"","content":"","cssClass":"","errorMessage":"","id":"9","inputName":"","isRequired":"","label":"Supporter Type","noDuplicates":"","size":"medium","postCustomFieldName":"","displayAllCategories":"","displayCaption":"","displayDescription":"","displayTitle":"","inputType":"","rangeMin":"","rangeMax":"","calendarIconUrl":"","dateFormat":"","phoneFormat":"","defaultCountry":"","defaultProvince":"","defaultState":"","hideAddress2":"","hideCountry":"","hideState":"","inputs":"","nameFormat":"","allowedExtensions":"","captchaType":"","captchaTheme":"","simpleCaptchaSize":"","simpleCaptchaFontColor":"","simpleCaptchaBackgroundColor":"","failed_validation":"","productField":"","enablePasswordInput":"","maxLength":"","enablePrice":"","basePrice":"","enableChoiceValue":"1","choices":[{"text":"I am an individual donor","value":"Individual"},{"text":"I am donating on behalf of a school, company or group","value":"Organisation"}],"formId":2,"descriptionPlacement":"below","displayOnly":"","conditionalLogic":""},{"type":"radio","adminLabel":"","adminOnly":"","allowsPrepopulate":"","defaultValue":"","description":"","content":"","cssClass":"","errorMessage":"","id":"7","inputName":"","isRequired":"","label":"How Did You Raise This Money?","noDuplicates":"","size":"medium","postCustomFieldName":"","displayAllCategories":"","displayCaption":"","displayDescription":"","displayTitle":"","inputType":"","rangeMin":"","rangeMax":"","calendarIconUrl":"","dateFormat":"","phoneFormat":"","defaultCountry":"","defaultProvince":"","defaultState":"","hideAddress2":"","hideCountry":"","hideState":"","inputs":"","nameFormat":"","allowedExtensions":"","captchaType":"","captchaTheme":"","simpleCaptchaSize":"","simpleCaptchaFontColor":"","simpleCaptchaBackgroundColor":"","failed_validation":"","productField":"","enablePasswordInput":"","maxLength":"","enablePrice":"","basePrice":"","enableChoiceValue":"1","choices":[{"text":"This is my own money","value":"Own money"},{"text":"This is money I have raised through sponsorship","value":"Sponsorship"}],"conditionalLogic":{"actionType":"show","logicType":"all","rules":[{"fieldId":"9","operator":"is","value":"Individual"}]},"formId":2,"descriptionPlacement":"below","displayOnly":""},{"type":"html","adminLabel":"","adminOnly":"","allowsPrepopulate":"","defaultValue":"","description":"","content":"<div class=\"gift-aid-container\">","cssClass":"","errorMessage":"","id":"16","inputName":"","isRequired":"","label":"HTML Block","noDuplicates":"","size":"medium","postCustomFieldName":"","displayAllCategories":"","displayCaption":"","displayDescription":"","displayTitle":"","inputType":"","rangeMin":"","rangeMax":"","calendarIconUrl":"","dateFormat":"","phoneFormat":"","defaultCountry":"","defaultProvince":"","defaultState":"","hideAddress2":"","hideCountry":"","hideState":"","inputs":"","nameFormat":"","allowedExtensions":"","captchaType":"","captchaTheme":"","simpleCaptchaSize":"","simpleCaptchaFontColor":"","simpleCaptchaBackgroundColor":"","failed_validation":"","productField":"","enablePasswordInput":"","maxLength":"","enablePrice":"","basePrice":"","displayOnly":"1","disableMargins":"1","formId":2,"descriptionPlacement":"below","choices":"","conditionalLogic":""},{"type":"checkbox","adminLabel":"","adminOnly":"","allowsPrepopulate":"","defaultValue":"","description":"Your donations are eligible for the scheme if you pay enough income tax and\/or capital gains tax to cover the amount of tax that all charities and Community Amateur Sports Clubs you donate to will reclaim for each tax year (6 April to 5 April). Council tax and VAT do not count.","content":"","cssClass":"gift-aid-form","errorMessage":"","id":"5","inputName":"","isRequired":"","label":"Gift Aid","noDuplicates":"","size":"medium","postCustomFieldName":"","displayAllCategories":"","displayCaption":"","displayDescription":"","displayTitle":"","inputType":"","rangeMin":"","rangeMax":"","calendarIconUrl":"","dateFormat":"","phoneFormat":"","defaultCountry":"","defaultProvince":"","defaultState":"","hideAddress2":"","hideCountry":"","hideState":"","inputs":[{"id":"5.1","label":"Yes, I am a UK taxpayer and I would like you to treat all the donations I make from 1 April 2009, until I notify you otherwise, as Gift Aid donations."}],"nameFormat":"","allowedExtensions":"","captchaType":"","captchaTheme":"","simpleCaptchaSize":"","simpleCaptchaFontColor":"","simpleCaptchaBackgroundColor":"","failed_validation":"","productField":"","enablePasswordInput":"","maxLength":"","enablePrice":"","basePrice":"","enableChoiceValue":"1","choices":[{"text":"Yes, I am a UK taxpayer and I would like you to treat all the donations I make from 1 April 2009, until I notify you otherwise, as Gift Aid donations.","value":"Yes"}],"conditionalLogic":{"actionType":"show","logicType":"all","rules":[{"fieldId":"7","operator":"is","value":"Own money"}]},"formId":2,"descriptionPlacement":"below","displayOnly":""},{"type":"html","adminLabel":"","adminOnly":"","allowsPrepopulate":"","defaultValue":"","description":"","content":"<\/div><!-- end gift aid container -->","cssClass":"","errorMessage":"","id":"17","inputName":"","isRequired":"","label":"HTML Block","noDuplicates":"","size":"medium","postCustomFieldName":"","displayAllCategories":"","displayCaption":"","displayDescription":"","displayTitle":"","inputType":"","rangeMin":"","rangeMax":"","calendarIconUrl":"","dateFormat":"","phoneFormat":"","defaultCountry":"","defaultProvince":"","defaultState":"","hideAddress2":"","hideCountry":"","hideState":"","inputs":"","nameFormat":"","allowedExtensions":"","captchaType":"","captchaTheme":"","simpleCaptchaSize":"","simpleCaptchaFontColor":"","simpleCaptchaBackgroundColor":"","failed_validation":"","productField":"","enablePasswordInput":"","maxLength":"","enablePrice":"","basePrice":"","displayOnly":"1","disableMargins":"1","formId":2,"descriptionPlacement":"below","choices":"","conditionalLogic":""},{"type":"text","adminLabel":"","adminOnly":"","allowsPrepopulate":"","defaultValue":"","description":"","content":"","cssClass":"","errorMessage":"","id":"8","inputName":"","isRequired":"","label":"Organisation Name","noDuplicates":"","size":"medium","postCustomFieldName":"","displayAllCategories":"","displayCaption":"","displayDescription":"","displayTitle":"","inputType":"","rangeMin":"","rangeMax":"","calendarIconUrl":"","dateFormat":"","phoneFormat":"","defaultCountry":"","defaultProvince":"","defaultState":"","hideAddress2":"","hideCountry":"","hideState":"","inputs":"","nameFormat":"","allowedExtensions":"","captchaType":"","captchaTheme":"","simpleCaptchaSize":"","simpleCaptchaFontColor":"","simpleCaptchaBackgroundColor":"","failed_validation":"","productField":"","enablePasswordInput":"","maxLength":"","enablePrice":"","basePrice":"","conditionalLogic":{"actionType":"show","logicType":"all","rules":[{"fieldId":"9","operator":"is","value":"Organisation"}]},"formId":2,"descriptionPlacement":"below","displayOnly":"","choices":""},{"type":"section","adminLabel":"","adminOnly":"","allowsPrepopulate":"","defaultValue":"","description":"","content":"","cssClass":"","errorMessage":"","id":"11","inputName":"","isRequired":"","label":"","noDuplicates":"","size":"medium","postCustomFieldName":"","displayAllCategories":"","displayCaption":"","displayDescription":"","displayTitle":"","inputType":"","rangeMin":"","rangeMax":"","calendarIconUrl":"","dateFormat":"","phoneFormat":"","defaultCountry":"","defaultProvince":"","defaultState":"","hideAddress2":"","hideCountry":"","hideState":"","inputs":"","nameFormat":"","allowedExtensions":"","captchaType":"","captchaTheme":"","simpleCaptchaSize":"","simpleCaptchaFontColor":"","simpleCaptchaBackgroundColor":"","failed_validation":"","productField":"","enablePasswordInput":"","maxLength":"","enablePrice":"","basePrice":"","displayOnly":"1","formId":2,"descriptionPlacement":"below","choices":"","conditionalLogic":""},{"type":"checkbox","adminLabel":"","adminOnly":"","allowsPrepopulate":"","defaultValue":"","description":"","content":"","cssClass":"top_label","errorMessage":"","id":"10","inputName":"","isRequired":"","label":"Keep me updated","noDuplicates":"","size":"medium","postCustomFieldName":"","displayAllCategories":"","displayCaption":"","displayDescription":"","displayTitle":"","inputType":"","rangeMin":"","rangeMax":"","calendarIconUrl":"","dateFormat":"","phoneFormat":"","defaultCountry":"","defaultProvince":"","defaultState":"","hideAddress2":"","hideCountry":"","hideState":"","inputs":[{"id":"10.1","label":"I would like to receive your email newsletter to follow the impact of my donation"}],"nameFormat":"","allowedExtensions":"","captchaType":"","captchaTheme":"","simpleCaptchaSize":"","simpleCaptchaFontColor":"","simpleCaptchaBackgroundColor":"","failed_validation":"","productField":"","enablePasswordInput":"","maxLength":"","enablePrice":"","basePrice":"","enableChoiceValue":"1","choices":[{"text":"I would like to receive your email newsletter to follow the impact of my donation","value":"Yes"}],"formId":2,"descriptionPlacement":"below","displayOnly":"","conditionalLogic":""},{"type":"hidden","adminLabel":"","adminOnly":"","allowsPrepopulate":"","defaultValue":"Website - Paypal","description":"","content":"","cssClass":"","errorMessage":"","id":"21","inputName":"","isRequired":"","label":"Donation method","noDuplicates":"","size":"medium","postCustomFieldName":"","displayAllCategories":"","displayCaption":"","displayDescription":"","displayTitle":"","inputType":"","rangeMin":"","rangeMax":"","calendarIconUrl":"","dateFormat":"","phoneFormat":"","defaultCountry":"","defaultProvince":"","defaultState":"","hideAddress2":"","hideCountry":"","hideState":"","inputs":"","nameFormat":"","allowedExtensions":"","captchaType":"","captchaTheme":"","simpleCaptchaSize":"","simpleCaptchaFontColor":"","simpleCaptchaBackgroundColor":"","failed_validation":"","productField":"","enablePasswordInput":"","maxLength":"","enablePrice":"","basePrice":"","formId":2,"descriptionPlacement":"below","displayOnly":"","choices":"","conditionalLogic":""},{"type":"hidden","adminLabel":"","adminOnly":"","allowsPrepopulate":"","defaultValue":"unrestricted","description":"","content":"","cssClass":"","errorMessage":"","id":"22","inputName":"","isRequired":"","label":"Fund","noDuplicates":"","size":"medium","postCustomFieldName":"","displayAllCategories":"","displayCaption":"","displayDescription":"","displayTitle":"","inputType":"","rangeMin":"","rangeMax":"","calendarIconUrl":"","dateFormat":"","phoneFormat":"","defaultCountry":"","defaultProvince":"","defaultState":"","hideAddress2":"","hideCountry":"","hideState":"","inputs":"","nameFormat":"","allowedExtensions":"","captchaType":"","captchaTheme":"","simpleCaptchaSize":"","simpleCaptchaFontColor":"","simpleCaptchaBackgroundColor":"","failed_validation":"","productField":"","enablePasswordInput":"","maxLength":"","enablePrice":"","basePrice":"","formId":2,"descriptionPlacement":"below","displayOnly":"","choices":"","conditionalLogic":""},{"type":"hidden","adminLabel":"","adminOnly":"","allowsPrepopulate":"","defaultValue":"","description":"","content":"","cssClass":"","errorMessage":"","id":"24","inputName":"","isRequired":"","label":"Notes","noDuplicates":"","size":"medium","postCustomFieldName":"","displayAllCategories":"","displayCaption":"","displayDescription":"","displayTitle":"","inputType":"","rangeMin":"","rangeMax":"","calendarIconUrl":"","dateFormat":"","phoneFormat":"","defaultCountry":"","defaultProvince":"","defaultState":"","hideAddress2":"","hideCountry":"","hideState":"","inputs":"","nameFormat":"","allowedExtensions":"","captchaType":"","captchaTheme":"","simpleCaptchaSize":"","simpleCaptchaFontColor":"","simpleCaptchaBackgroundColor":"","failed_validation":"","productField":"","enablePasswordInput":"","maxLength":"","enablePrice":"","basePrice":"","formId":2,"descriptionPlacement":"below","displayOnly":"","choices":"","conditionalLogic":""},{"type":"total","adminLabel":"","adminOnly":"","allowsPrepopulate":"","defaultValue":"","description":"","content":"","cssClass":"","errorMessage":"","id":"25","inputName":"","isRequired":"","label":"Total","noDuplicates":"","size":"medium","postCustomFieldName":"","displayAllCategories":"","displayCaption":"","displayDescription":"","displayTitle":"","inputType":"","rangeMin":"","rangeMax":"","calendarIconUrl":"","dateFormat":"","phoneFormat":"","defaultCountry":"","defaultProvince":"","defaultState":"","hideAddress2":"","hideCountry":"","hideState":"","inputs":"","nameFormat":"","allowedExtensions":"","captchaType":"","captchaTheme":"","simpleCaptchaSize":"","simpleCaptchaFontColor":"","simpleCaptchaBackgroundColor":"","failed_validation":"","productField":"","enablePasswordInput":"","maxLength":"","enablePrice":"","basePrice":"","conditionalLogic":{"actionType":"show","logicType":"all","rules":[{"fieldId":"24","operator":"is","value":"notes"}]},"formId":2,"descriptionPlacement":"below","displayOnly":"","choices":""},{"type":"number","id":26,"label":"Analytics-friendly donation amount","adminLabel":"","isRequired":false,"size":"medium","errorMessage":"","inputs":null,"numberFormat":"decimal_dot","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","multipleFiles":false,"maxFiles":"","calculationFormula":"{Donation amount:19}","calculationRounding":"","enableCalculation":true,"disableQuantity":false,"displayAllCategories":false,"inputMask":false,"inputMaskValue":"","allowsPrepopulate":false,"adminOnly":true,"formId":2,"choices":"","conditionalLogic":"","inputType":"","displayOnly":""},{"type":"hidden","id":28,"label":"Currency","adminLabel":"","isRequired":false,"size":"medium","errorMessage":"","inputs":null,"labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"inputMask":false,"inputMaskValue":"","allowsPrepopulate":false,"defaultValue":"GBP","formId":2,"choices":"","conditionalLogic":"","inputType":""}],"cssClass":"biscuits-donation-form","enableAnimation":"1","id":2,"postContentTemplateEnabled":false,"postTitleTemplateEnabled":false,"postTitleTemplate":"","postContentTemplate":"","lastPageButton":null,"pagination":null,"firstPageCssClass":null,"confirmations":[{"id":"52888242947d1","isDefault":true,"type":"page","name":"Default Confirmation","pageId":1022,"message":"","disableAutoformat":false,"url":"","queryString":"donation_amount={Analytics-friendly donation amount:26}&donation_id={entry_id}&donation_recurring=0","conditionalLogic":[]}],"notifications":[{"isActive":true,"id":"53dbb02188022","name":"Donor thanks email","event":"form_submission","to":"4","toType":"field","bcc":"","subject":"Thank you for your donation","message":"Hi {Name (First):2.3},\r\n\r\nWe just wanted to say a huge thank you for your generous, albeit fake, donation. It will keep me stocked up in biscuits for months to come!\r\n\r\nBen","from":"[email protected]","fromName":"Charity & Biscuits","replyTo":"","routing":null,"conditionalLogic":null,"disableAutoformat":false}]},"version":"1.9.11"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment