Skip to content

Instantly share code, notes, and snippets.

@Hendrikv1990
Created February 8, 2021 13:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Hendrikv1990/2c8e681ec75450aca6dae904a67a0e9b to your computer and use it in GitHub Desktop.
Save Hendrikv1990/2c8e681ec75450aca6dae904a67a0e9b to your computer and use it in GitHub Desktop.
ACF Group for WHS registration
{
"key": "group_5e68d50a17957",
"title": "Wholesale Registrations",
"fields": [
{
"key": "field_5e68e963fc7c3",
"label": "Status",
"name": "status",
"type": "select",
"instructions": "Please update the status of this registration.",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"pending": "Pending",
"accepted": "Accepted",
"rejected": "Rejected"
},
"default_value": [
"pending"
],
"allow_null": 0,
"multiple": 0,
"ui": 0,
"return_format": "value",
"ajax": 0,
"placeholder": ""
},
{
"key": "field_5e68d510a4e9d",
"label": "First Name",
"name": "firstName",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5e68d519a4e9e",
"label": "Last Name",
"name": "lastName",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5e68d521a4e9f",
"label": "Email",
"name": "email",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5e68d529a4ea0",
"label": "Telephone",
"name": "telephone",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5e68d53da4ea1",
"label": "Business Name",
"name": "businessName",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5e68d546a4ea2",
"label": "Business Address",
"name": "businessAddress",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5e68d54fa4ea3",
"label": "Postal Code",
"name": "postalCode",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5e68d559a4ea4",
"label": "City",
"name": "city",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5e68d560a4ea5",
"label": "Tax Number",
"name": "taxNumber",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5efa2c0a4be85",
"label": "VAT Number",
"name": "vatNumber",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5e68d568a4ea6",
"label": "GDPR Accepted",
"name": "gdpr",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5e68d576a4ea7",
"label": "Product Categories",
"name": "productCategories",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5e68d57fa4ea8",
"label": "Business Type",
"name": "businessType",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5e68d58da4ea9",
"label": "Business Registration (URL)",
"name": "businessRegistration",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_5ed9318ed33b8",
"label": "Accept Registration",
"name": "accept_registration",
"type": "acfe_button",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"button_value": "Submit",
"button_type": "button",
"button_class": "",
"button_id": "",
"button_before": "",
"button_after": "",
"button_ajax": 1
}
],
"location": [
[
{
"param": "post_type",
"operator": "==",
"value": "ws_registration"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "default",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": [
"permalink",
"the_content",
"excerpt",
"discussion",
"comments",
"revisions",
"slug",
"author",
"format",
"page_attributes",
"featured_image",
"categories",
"tags",
"send-trackbacks"
],
"active": 1,
"description": "",
"acfe_display_title": "",
"acfe_autosync": [
"json"
],
"acfe_permissions": "",
"acfe_form": 0,
"acfe_meta": "",
"acfe_note": "",
"modified": 1593453599
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment