Instantly share code, notes, and snippets.

Embed
What would you like to do?
Form import for Gravity Forms EDD Product Reviews tutorial
{"0":{"labelPlacement":"top_label","useCurrentUserAsAuthor":true,"postAuthor":"2","postCategory":"1","postFormat":0,"postStatus":"publish","title":"Download Reviews","descriptionPlacement":"below","button":{"type":"text","text":"Submit Review"},"fields":[{"type":"post_title","id":"6","size":"medium","adminLabel":"headline","label":"Review Headline","saveAsCPT":"review","formId":1,"displayOnly":"","isRequired":true,"inputs":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"inputMask":false,"inputMaskValue":"","allowsPrepopulate":false,"choices":"","conditionalLogic":"","inputType":""},{"type":"post_custom_field","adminOnly":"1","id":"7","size":"medium","postCustomFieldName":"edd_review_download_id","inputType":"number","numberFormat":"decimal_dot","defaultValue":"{embed_post:ID}","label":"Download ID","formId":1,"displayOnly":"","isRequired":true,"inputs":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"inputMask":false,"inputMaskValue":"","allowsPrepopulate":false,"choices":"","conditionalLogic":""},{"type":"post_custom_field","adminOnly":"1","allowsPrepopulate":true,"id":"1","size":"medium","postCustomFieldName":"edd_review_first_name","inputType":"text","adminLabel":"user_fname","inputName":"user_fname","label":"First Name","formId":1,"displayOnly":"","isRequired":"","inputs":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"inputMask":false,"inputMaskValue":"","choices":"","conditionalLogic":""},{"type":"post_custom_field","adminOnly":"1","allowsPrepopulate":"1","id":"2","size":"medium","postCustomFieldName":"edd_review_last_name","inputType":"text","adminLabel":"user_lname","inputName":"user_lname","label":"Last Name","formId":1,"displayOnly":"","isRequired":"","inputs":"","choices":"","conditionalLogic":""},{"type":"post_custom_field","adminOnly":"1","allowsPrepopulate":"1","id":"3","isRequired":"1","size":"medium","postCustomFieldName":"edd_review_email","inputType":"email","adminLabel":"user_email","inputName":"user_email","label":"Email","formId":1,"displayOnly":"","inputs":"","choices":"","conditionalLogic":""},{"type":"post_custom_field","id":"4","isRequired":"1","size":"medium","postCustomFieldName":"edd_review_rating","inputType":"radio","adminLabel":"rating","description":"1 for Poor - 5 for Excellent","cssClass":"gf_list_inline","label":"Star Rating","choices":[{"text":"1","value":"1"},{"text":"2","value":"2"},{"text":"3","value":"3"},{"text":"4","value":"4"},{"text":"5","value":"5"}],"formId":1,"displayOnly":"","inputs":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"inputMask":false,"inputMaskValue":"","allowsPrepopulate":false,"conditionalLogic":""},{"type":"post_custom_field","id":"5","isRequired":"1","size":"medium","postCustomFieldName":"edd_review_review","inputType":"textarea","adminLabel":"review","label":"Leave a Review","formId":1,"displayOnly":"","inputs":"","choices":"","conditionalLogic":""}],"postContentTemplateEnabled":false,"postTitleTemplateEnabled":false,"enableHoneypot":"1","requireLogin":"1","requireLoginMessage":"You must be logged in and have purchased this download to review.","id":1,"postTitleTemplate":"","postContentTemplate":"","lastPageButton":null,"pagination":null,"firstPageCssClass":null,"confirmations":[{"id":"54c4880e037a8","isDefault":"1","type":"message","name":"Default Confirmation","message":"<strong>Thanks for reviewing {embed_post:post_title}! <\/strong>\r\n\r\nFeedback is very helpful for our website, our sellers and our customers. Your input is much appreciated."}],"notifications":[{"id":"54c4880e03541","isActive":"0","name":"Admin Notification","event":"form_submission","to":"{admin_email}","toType":"email","subject":"New Review of {embed_post:post_title}","message":"{all_fields}","from":"{admin_email}"}]},"version":"1.9.1.2"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment