Support

Account

Home Forums Add-ons Repeater Field If No Repeater Rows Reply To: If No Repeater Rows

  • Hi James,

    Thank you for the response.

    Here you go…

    Thanks!
    Robert

    [
        {
            "key": "group_58ad31aed23da",
            "title": "Employee Profiles",
            "fields": [
                {
                    "key": "field_58ad329495dc4",
                    "label": "Add A Profile",
                    "name": "add_profile",
                    "type": "repeater",
                    "instructions": "Add a new employee profile here",
                    "required": 0,
                    "conditional_logic": 0,
                    "wrapper": {
                        "width": "",
                        "class": "",
                        "id": ""
                    },
                    "collapsed": "field_58ad333095dc6",
                    "min": 0,
                    "max": 0,
                    "layout": "block",
                    "button_label": "Create New Employee Profile",
                    "sub_fields": [
                        {
                            "key": "field_58ad330995dc5",
                            "label": "Employee Photo",
                            "name": "employee_photo",
                            "type": "image",
                            "instructions": "Upload a photo for this employee profile here",
                            "required": 1,
                            "conditional_logic": 0,
                            "wrapper": {
                                "width": "",
                                "class": "",
                                "id": ""
                            },
                            "return_format": "url",
                            "preview_size": "thumbnail",
                            "library": "all",
                            "min_width": "",
                            "min_height": "",
                            "min_size": "",
                            "max_width": "",
                            "max_height": "",
                            "max_size": "",
                            "mime_types": ""
                        },
                        {
                            "key": "field_58c5abab581e3",
                            "label": "Employee Photo Alt Text",
                            "name": "employee_photo_alt",
                            "type": "text",
                            "instructions": "Add image alt text for  this profile image",
                            "required": 1,
                            "conditional_logic": 0,
                            "wrapper": {
                                "width": "",
                                "class": "",
                                "id": ""
                            },
                            "default_value": "",
                            "placeholder": "",
                            "prepend": "",
                            "append": "",
                            "maxlength": ""
                        },
                        {
                            "key": "field_58ad333095dc6",
                            "label": "Employee Name",
                            "name": "employee_name",
                            "type": "text",
                            "instructions": "Enter the employee's name here",
                            "required": 1,
                            "conditional_logic": 0,
                            "wrapper": {
                                "width": "",
                                "class": "",
                                "id": ""
                            },
                            "default_value": "",
                            "placeholder": "i.e. John Doe",
                            "prepend": "",
                            "append": "",
                            "maxlength": ""
                        },
                        {
                            "key": "field_58ad33cc95dc7",
                            "label": "Job Title",
                            "name": "job_title",
                            "type": "text",
                            "instructions": "Enter the job title for this employee here",
                            "required": 1,
                            "conditional_logic": 0,
                            "wrapper": {
                                "width": "",
                                "class": "",
                                "id": ""
                            },
                            "default_value": "",
                            "placeholder": "i.e Architect",
                            "prepend": "",
                            "append": "",
                            "maxlength": ""
                        },
                        {
                            "key": "field_58ad340895dc8",
                            "label": "Bio",
                            "name": "employee_bio",
                            "type": "textarea",
                            "instructions": "Enter a short bio for this employee here",
                            "required": 0,
                            "conditional_logic": 0,
                            "wrapper": {
                                "width": "",
                                "class": "",
                                "id": ""
                            },
                            "default_value": "",
                            "placeholder": "",
                            "maxlength": "",
                            "rows": "",
                            "new_lines": ""
                        },
                        {
                            "key": "field_58c5a9d2b1522",
                            "label": "Profile Slug",
                            "name": "profile_slug",
                            "type": "text",
                            "instructions": "Enter a link slug for this profile here. This must be all lower-case with no spaces.",
                            "required": 1,
                            "conditional_logic": 0,
                            "wrapper": {
                                "width": "",
                                "class": "",
                                "id": ""
                            },
                            "default_value": "",
                            "placeholder": "i.e. louisdesrosiers",
                            "prepend": "",
                            "append": "",
                            "maxlength": ""
                        }
                    ]
                }
            ],
            "location": [
                [
                    {
                        "param": "options_page",
                        "operator": "==",
                        "value": "employee-profiles"
                    }
                ]
            ],
            "menu_order": 0,
            "position": "normal",
            "style": "default",
            "label_placement": "top",
            "instruction_placement": "label",
            "hide_on_screen": "",
            "active": 1,
            "description": ""
        }
    ]