{
  "settings": {
    "objectType": "Form Setting",
    "editActive": true,
    "title": "Complaint Form",
    "form_title": "Complaint Form",
    "show_title": 1,
    "allow_public_link": 0,
    "embed_form": "",
    "clear_complete": 1,
    "hide_complete": 1,
    "default_label_pos": "above",
    "wrapper_class": "",
    "element_class": "",
    "form_title_heading_level": "3",
    "key": "",
    "add_submit": 0,
    "changeEmailErrorMsg": "",
    "changeDateErrorMsg": "",
    "confirmFieldErrorMsg": "",
    "fieldNumberNumMinError": "",
    "fieldNumberNumMaxError": "",
    "fieldNumberIncrementBy": "",
    "formErrorsCorrectErrors": "",
    "validateRequiredField": "",
    "honeypotHoneypotError": "",
    "fieldsMarkedRequired": "",
    "currency": "",
    "unique_field_error": "A form with this value has already been submitted.",
    "logged_in": false,
    "not_logged_in_msg": "",
    "sub_limit_msg": "The form has reached its submission limit.",
    "calculations": [],
    "conditions": [],
    "formContentData": [
      "full_name_1744070400001",
      "email_address_1744070400002",
      "phone_number_1744070400003",
      "complaint_category_1744070400004",
      "date_of_incident_1744070400005",
      "complaint_details_1744070400006",
      "preferred_resolution_1744070400007",
      "how_did_you_hear_1744070400008",
      "hcaptcha_1744070400009",
      "submit_1744070400010"
    ],
    "objectDomain": "calculations",
    "drawerDisabled": false
  },
  "fields": [
    {
      "objectType": "Field",
      "objectDomain": "fields",
      "editActive": false,
      "order": 1,
      "idAttribute": "id",
      "type": "textbox",
      "label": "Full Name",
      "key": "full_name_1744070400001",
      "label_pos": "default",
      "required": true,
      "default": "",
      "placeholder": "",
      "input_limit": "",
      "input_limit_type": "characters",
      "input_limit_msg": "Character(s) left",
      "manual_key": false,
      "admin_label": "",
      "help_text": "",
      "mask": "",
      "custom_mask": "",
      "custom_name_attribute": "name",
      "personally_identifiable": 1,
      "value": "",
      "container_class": "",
      "element_class": "",
      "drawerDisabled": false,
      "field_label": "Full Name",
      "field_key": "full_name_1744070400001"
    },
    {
      "objectType": "Field",
      "objectDomain": "fields",
      "editActive": false,
      "order": 2,
      "idAttribute": "id",
      "type": "email",
      "label": "Email Address",
      "key": "email_address_1744070400002",
      "label_pos": "default",
      "required": true,
      "default": "",
      "placeholder": "",
      "custom_name_attribute": "email",
      "personally_identifiable": 1,
      "value": "",
      "container_class": "",
      "element_class": "",
      "admin_label": "",
      "drawerDisabled": false,
      "field_label": "Email Address",
      "field_key": "email_address_1744070400002"
    },
    {
      "objectType": "Field",
      "objectDomain": "fields",
      "editActive": false,
      "order": 3,
      "idAttribute": "id",
      "type": "phone",
      "label": "Phone Number",
      "key": "phone_number_1744070400003",
      "label_pos": "default",
      "required": false,
      "mask": "",
      "custom_name_attribute": "phone",
      "personally_identifiable": 1,
      "container_class": "",
      "element_class": "",
      "admin_label": "",
      "drawerDisabled": false,
      "field_label": "Phone Number",
      "field_key": "phone_number_1744070400003"
    },
    {
      "objectType": "Field",
      "objectDomain": "fields",
      "editActive": false,
      "order": 4,
      "idAttribute": "id",
      "type": "listselect",
      "label": "Complaint Category",
      "key": "complaint_category_1744070400004",
      "label_pos": "default",
      "required": true,
      "default": "",
      "placeholder": "",
      "options": [
        {
          "errors": [],
          "max_options": 0,
          "label": "Customer Service",
          "value": "Customer Service",
          "calc": "",
          "selected": 0,
          "order": 0
        },
        {
          "errors": [],
          "max_options": 0,
          "label": "Product Quality",
          "value": "Product Quality",
          "calc": "",
          "selected": 0,
          "order": 1
        },
        {
          "errors": [],
          "max_options": 0,
          "label": "Billing and Payments",
          "value": "Billing and Payments",
          "calc": "",
          "selected": 0,
          "order": 2
        },
        {
          "errors": [],
          "max_options": 0,
          "label": "Delivery or Shipping",
          "value": "Delivery or Shipping",
          "calc": "",
          "selected": 0,
          "order": 3
        },
        {
          "errors": [],
          "max_options": 0,
          "label": "Staff Conduct",
          "value": "Staff Conduct",
          "calc": "",
          "selected": 0,
          "order": 4
        },
        {
          "errors": [],
          "max_options": 0,
          "label": "Other",
          "value": "Other",
          "calc": "",
          "selected": 0,
          "order": 5
        }
      ],
      "container_class": "",
      "element_class": "",
      "admin_label": "",
      "drawerDisabled": false,
      "field_label": "Complaint Category",
      "field_key": "complaint_category_1744070400004"
    },
    {
      "objectType": "Field",
      "objectDomain": "fields",
      "editActive": false,
      "order": 5,
      "idAttribute": "id",
      "type": "date",
      "label": "Date of Incident",
      "key": "date_of_incident_1744070400005",
      "label_pos": "default",
      "required": false,
      "placeholder": "",
      "date_mode": "date_only",
      "date_format": "default",
      "year_range_start": "",
      "year_range_end": "",
      "hours_24": 0,
      "minute_increment": 5,
      "container_class": "",
      "element_class": "",
      "admin_label": "",
      "drawerDisabled": false,
      "field_label": "Date of Incident",
      "field_key": "date_of_incident_1744070400005"
    },
    {
      "objectType": "Field",
      "objectDomain": "fields",
      "editActive": false,
      "order": 6,
      "idAttribute": "id",
      "type": "textarea",
      "label": "Complaint Details",
      "key": "complaint_details_1744070400006",
      "label_pos": "default",
      "required": true,
      "default": "",
      "placeholder": "",
      "desc_text": "Please describe your complaint in as much detail as possible, including what happened, who was involved, and any relevant context.",
      "input_limit": "",
      "input_limit_type": "characters",
      "input_limit_msg": "Character(s) left",
      "textarea_rte": "",
      "disable_rte_mobile": "",
      "textarea_media": "",
      "value": "",
      "container_class": "",
      "element_class": "",
      "admin_label": "",
      "drawerDisabled": false,
      "field_label": "Complaint Details",
      "field_key": "complaint_details_1744070400006"
    },
    {
      "objectType": "Field",
      "objectDomain": "fields",
      "editActive": false,
      "order": 7,
      "idAttribute": "id",
      "type": "textarea",
      "label": "Preferred Resolution",
      "key": "preferred_resolution_1744070400007",
      "label_pos": "default",
      "required": false,
      "default": "",
      "placeholder": "",
      "desc_text": "What outcome would you like to see? (e.g., refund, apology, replacement, policy review)",
      "input_limit": "",
      "input_limit_type": "characters",
      "input_limit_msg": "Character(s) left",
      "textarea_rte": "",
      "disable_rte_mobile": "",
      "textarea_media": "",
      "value": "",
      "container_class": "",
      "element_class": "",
      "admin_label": "",
      "drawerDisabled": false,
      "field_label": "Preferred Resolution",
      "field_key": "preferred_resolution_1744070400007"
    },
    {
      "objectType": "Field",
      "objectDomain": "fields",
      "editActive": false,
      "order": 8,
      "idAttribute": "id",
      "type": "listselect",
      "label": "How Did You Hear About Us",
      "key": "how_did_you_hear_1744070400008",
      "label_pos": "default",
      "required": false,
      "default": "",
      "placeholder": "",
      "desc_text": "This helps us understand how our customers find us.",
      "options": [
        {
          "errors": [],
          "max_options": 0,
          "label": "Search Engine",
          "value": "Search Engine",
          "calc": "",
          "selected": 0,
          "order": 0
        },
        {
          "errors": [],
          "max_options": 0,
          "label": "Social Media",
          "value": "Social Media",
          "calc": "",
          "selected": 0,
          "order": 1
        },
        {
          "errors": [],
          "max_options": 0,
          "label": "Referral",
          "value": "Referral",
          "calc": "",
          "selected": 0,
          "order": 2
        },
        {
          "errors": [],
          "max_options": 0,
          "label": "Email",
          "value": "Email",
          "calc": "",
          "selected": 0,
          "order": 3
        },
        {
          "errors": [],
          "max_options": 0,
          "label": "Other",
          "value": "Other",
          "calc": "",
          "selected": 0,
          "order": 4
        }
      ],
      "container_class": "",
      "element_class": "",
      "admin_label": "",
      "drawerDisabled": false,
      "field_label": "How Did You Hear About Us",
      "field_key": "how_did_you_hear_1744070400008"
    },
    {
      "objectType": "Field",
      "objectDomain": "fields",
      "editActive": false,
      "order": 9,
      "idAttribute": "id",
      "type": "hcaptcha",
      "label": "Spam Check",
      "key": "hcaptcha_1744070400009",
      "label_pos": "hidden",
      "required": false,
      "container_class": "",
      "element_class": "",
      "admin_label": "",
      "drawerDisabled": false,
      "field_label": "Spam Check",
      "field_key": "hcaptcha_1744070400009"
    },
    {
      "objectType": "Field",
      "objectDomain": "fields",
      "editActive": false,
      "order": 10,
      "idAttribute": "id",
      "type": "submit",
      "label": "Submit Complaint",
      "processing_label": "Processing",
      "key": "submit_1744070400010",
      "container_class": "",
      "element_class": "",
      "admin_label": "",
      "drawerDisabled": false,
      "field_label": "Submit Complaint",
      "field_key": "submit_1744070400010"
    }
  ],
  "actions": [
    {
      "title": null,
      "key": null,
      "type": "successmessage",
      "active": "1",
      "created_at": "2026-04-08 00:00:00",
      "label": "Success Message",
      "objectType": "Action",
      "objectDomain": "actions",
      "editActive": "",
      "message": "Thank you for submitting your complaint. We've received your message and will review it shortly. A confirmation has been sent to the email address you provided. If your matter is urgent, please contact us directly.",
      "order": "1",
      "to": "{wp:admin_email}",
      "reply_to": "",
      "email_subject": "Ninja Forms Submission",
      "email_message": "{fields_table}",
      "email_message_plain": "",
      "from_name": "",
      "from_address": "",
      "email_format": "html",
      "cc": "",
      "bcc": "",
      "success_msg": "Thank you for submitting your complaint. We've received your message and will review it shortly. A confirmation has been sent to the email address you provided. If your matter is urgent, please contact us directly."
    },
    {
      "title": null,
      "key": null,
      "type": "email",
      "active": "1",
      "created_at": "2026-04-08 00:00:00",
      "label": "Admin Email",
      "objectType": "Action",
      "objectDomain": "actions",
      "editActive": "",
      "order": "2",
      "to": "{wp:admin_email}",
      "reply_to": "{field:email_address_1744070400002}",
      "email_subject": "New Complaint Submitted: {field:complaint_category_1744070400004}",
      "email_message": "<p><strong>A new complaint has been submitted. Details are below.</strong></p><p><strong>Name:</strong> {field:full_name_1744070400001} </p><p><strong>Email:</strong> {field:email_address_1744070400002} </p><p><strong>Phone:</strong> {field:phone_number_1744070400003} </p><p><strong>Category:</strong> {field:complaint_category_1744070400004} </p><p><strong>Date of Incident:</strong> {field:date_of_incident_1744070400005} </p><p><strong>Complaint Details:</strong> {field:complaint_details_1744070400006} </p><p><strong>Preferred Resolution:</strong> {field:preferred_resolution_1744070400007} </p>",
      "email_message_plain": "",
      "from_name": "{field:full_name_1744070400001}",
      "from_address": "",
      "email_format": "html",
      "cc": "",
      "bcc": ""
    },
    {
      "title": null,
      "key": null,
      "type": "save",
      "active": "1",
      "created_at": "2026-04-08 00:00:00",
      "label": "Record Submission",
      "objectType": "Action",
      "objectDomain": "actions",
      "editActive": "",
      "order": "3",
      "to": "{wp:admin_email}",
      "reply_to": "",
      "email_subject": "Ninja Forms Submission",
      "email_message": "{fields_table}",
      "email_message_plain": "",
      "from_name": "",
      "from_address": "",
      "email_format": "html",
      "cc": "",
      "bcc": "",
      "success_msg": "Your form has been successfully submitted.",
      "redirect_url": "",
      "submitter_email": "",
      "fields-save-toggle": "save_all",
      "exception_fields": [],
      "set_subs_to_expire": "0",
      "subs_expire_time": "90"
    },
    {
      "title": null,
      "key": null,
      "type": "email",
      "active": "1",
      "created_at": "2026-04-08 00:00:00",
      "label": "Email Confirmation",
      "objectType": "Action",
      "objectDomain": "actions",
      "editActive": "",
      "order": "4",
      "to": "{field:email_address_1744070400002}",
      "reply_to": "",
      "email_subject": "We've received your complaint - here's what happens next",
      "email_message": "<p>Dear {field:full_name_1744070400001} ,</p><p>Thank you for reaching out to us. We have received your complaint and a member of our team will review it shortly.</p><p><strong>Your Submission Details:</strong></p><p><strong>Category:</strong> {field:complaint_category_1744070400004} </p><p><strong>Date of Incident:</strong> {field:date_of_incident_1744070400005} </p><p><strong>Complaint Details:</strong> {field:complaint_details_1744070400006} </p><p><strong>Preferred Resolution:</strong> {field:preferred_resolution_1744070400007} </p><p>If you have any additional information to share, please don't hesitate to contact us. We appreciate your patience while we look into this matter.</p><p>[Organization Name] - Update this with your organization's name and contact details.</p>",
      "email_message_plain": "",
      "from_name": "[Organization Name]",
      "from_address": "",
      "email_format": "html",
      "cc": "",
      "bcc": ""
    }
  ]
}
