Skip to content

Instantly share code, notes, and snippets.

@renventura
Created February 20, 2015 07:13
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save renventura/536303d086ba9130e43e to your computer and use it in GitHub Desktop.
Save renventura/536303d086ba9130e43e to your computer and use it in GitHub Desktop.
Fields import for Gravity Forms EDD Product Reviews tutorial
[
{
"key":"group_54c48c333e265",
"title":"Review Fields",
"fields":[
{
"key":"field_54c499005df54",
"label":"Download ID",
"name":"edd_review_download_id",
"prefix":"",
"type":"number",
"instructions":"",
"required":0,
"conditional_logic":0,
"wrapper":{
"width":"",
"class":"",
"id":""
},
"default_value":"",
"placeholder":"",
"prepend":"",
"append":"",
"min":"",
"max":"",
"step":"",
"readonly":0,
"disabled":0
},
{
"key":"field_54c48c3e56813",
"label":"First Name",
"name":"edd_review_first_name",
"prefix":"",
"type":"text",
"instructions":"",
"required":0,
"conditional_logic":0,
"wrapper":{
"width":"",
"class":"",
"id":""
},
"default_value":"",
"placeholder":"",
"prepend":"",
"append":"",
"maxlength":"",
"readonly":0,
"disabled":0
},
{
"key":"field_54c48c6456814",
"label":"Last Name",
"name":"edd_review_last_name",
"prefix":"",
"type":"text",
"instructions":"",
"required":0,
"conditional_logic":0,
"wrapper":{
"width":"",
"class":"",
"id":""
},
"default_value":"",
"placeholder":"",
"prepend":"",
"append":"",
"maxlength":"",
"readonly":0,
"disabled":0
},
{
"key":"field_54c48c7056815",
"label":"Email",
"name":"edd_review_email",
"prefix":"",
"type":"email",
"instructions":"",
"required":0,
"conditional_logic":0,
"wrapper":{
"width":"",
"class":"",
"id":""
},
"default_value":"",
"placeholder":"",
"prepend":"",
"append":""
},
{
"key":"field_54c48c8356816",
"label":"Rating",
"name":"edd_review_rating",
"prefix":"",
"type":"radio",
"instructions":"",
"required":1,
"conditional_logic":0,
"wrapper":{
"width":"",
"class":"",
"id":""
},
"choices":{
"1":1,
"2":2,
"3":3,
"4":4,
"5":5
},
"other_choice":0,
"save_other_choice":0,
"default_value":"",
"layout":"horizontal"
},
{
"key":"field_54c48ca856817",
"label":"Review",
"name":"edd_review_review",
"prefix":"",
"type":"textarea",
"instructions":"",
"required":0,
"conditional_logic":0,
"wrapper":{
"width":"",
"class":"",
"id":""
},
"default_value":"",
"placeholder":"",
"maxlength":"",
"rows":"",
"new_lines":"wpautop",
"readonly":0,
"disabled":0
}
],
"location":[
[
{
"param":"post_type",
"operator":"==",
"value":"review"
}
],
[
{
"param":"user_type",
"operator":"==",
"value":"administrator"
}
]
],
"menu_order":0,
"position":"normal",
"style":"default",
"label_placement":"top",
"instruction_placement":"label",
"hide_on_screen":""
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment