{
  "settings": {
    "objectType": "Form Setting",
    "objectDomain": "calculations",
    "editActive": true,
    "title": "Food Order 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": 1,
    "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.",
    "drawerDisabled": false,
    "calculations": [
      {
        "errors": [],
        "max_options": 0,
        "order": 0,
        "new": false,
        "options": [],
        "name": "Order Total",
        "eq": "{field:menu_items_1787659339993}*{field:quantity_1787659349993}",
        "dec": "2"
      }
    ],
    "conditions": [
      {
        "collapsed": true,
        "process": 1,
        "connector": "all",
        "when": [
          {
            "connector": "AND",
            "key": "order_type_1787659309993",
            "comparator": "equal",
            "value": "Delivery",
            "type": "field",
            "modelType": "when"
          }
        ],
        "then": [
          {
            "key": "delivery_address_1787659319993",
            "trigger": "show_field",
            "value": "",
            "type": "field",
            "modelType": "then"
          }
        ],
        "else": [
          {
            "key": "delivery_address_1787659319993",
            "trigger": "hide_field",
            "value": "",
            "type": "field",
            "modelType": "else"
          }
        ]
      }
    ],
    "formContentData": [
      "full_name_1787659279993",
      "email_1787659289993",
      "phone_number_1787659299993",
      "order_type_1787659309993",
      "delivery_address_1787659319993",
      "requested_datetime_1787659329993",
      "menu_items_1787659339993",
      "quantity_1787659349993",
      "special_instructions_1787659359993",
      "order_total_display_1787659369993",
      "order_total_value_1787659379993",
      "spam_check_1787659389993",
      "submit_1787659399993"
    ]
  },
  "fields": [
    {
      "objectType": "Field",
      "objectDomain": "fields",
      "editActive": false,
      "order": 1,
      "idAttribute": "id",
      "type": "textbox",
      "label": "Full Name",
      "key": "full_name_1787659279993",
      "container_class": "",
      "element_class": "",
      "admin_label": "",
      "drawerDisabled": "",
      "field_label": "Full Name",
      "field_key": "full_name_1787659279993",
      "label_pos": "default",
      "required": true,
      "default": "",
      "placeholder": "",
      "input_limit": "",
      "input_limit_type": "characters",
      "input_limit_msg": "Character(s) left",
      "manual_key": "",
      "help_text": "",
      "mask": "",
      "custom_mask": "",
      "custom_name_attribute": "",
      "personally_identifiable": "",
      "value": ""
    },
    {
      "objectType": "Field",
      "objectDomain": "fields",
      "editActive": false,
      "order": 2,
      "idAttribute": "id",
      "type": "email",
      "label": "Email",
      "key": "email_1787659289993",
      "container_class": "",
      "element_class": "",
      "admin_label": "",
      "drawerDisabled": "",
      "field_label": "Email",
      "field_key": "email_1787659289993",
      "label_pos": "default",
      "required": true,
      "default": "",
      "placeholder": "",
      "help_text": "",
      "custom_name_attribute": "email",
      "personally_identifiable": 1,
      "value": ""
    },
    {
      "objectType": "Field",
      "objectDomain": "fields",
      "editActive": false,
      "order": 3,
      "idAttribute": "id",
      "type": "phone",
      "label": "Phone Number",
      "key": "phone_number_1787659299993",
      "container_class": "",
      "element_class": "",
      "admin_label": "",
      "drawerDisabled": "",
      "field_label": "Phone Number",
      "field_key": "phone_number_1787659299993",
      "label_pos": "default",
      "required": false,
      "default": "",
      "placeholder": "",
      "help_text": "",
      "mask": "",
      "custom_name_attribute": "phone",
      "personally_identifiable": 1,
      "value": ""
    },
    {
      "objectType": "Field",
      "objectDomain": "fields",
      "editActive": false,
      "order": 4,
      "idAttribute": "id",
      "type": "listradio",
      "label": "Order Type",
      "key": "order_type_1787659309993",
      "container_class": "",
      "element_class": "",
      "admin_label": "",
      "drawerDisabled": "",
      "field_label": "Order Type",
      "field_key": "order_type_1787659309993",
      "label_pos": "default",
      "required": true,
      "help_text": "",
      "options": [
        {
          "errors": [],
          "max_options": 0,
          "label": "Pickup",
          "value": "Pickup",
          "calc": "",
          "selected": 0,
          "order": 0,
          "manual_value": true
        },
        {
          "errors": [],
          "max_options": 0,
          "label": "Delivery",
          "value": "Delivery",
          "calc": "",
          "selected": 0,
          "order": 1,
          "manual_value": true
        }
      ]
    },
    {
      "objectType": "Field",
      "objectDomain": "fields",
      "editActive": false,
      "order": 5,
      "idAttribute": "id",
      "type": "textbox",
      "label": "Delivery Address",
      "key": "delivery_address_1787659319993",
      "container_class": "",
      "element_class": "",
      "admin_label": "",
      "drawerDisabled": "",
      "field_label": "Delivery Address",
      "field_key": "delivery_address_1787659319993",
      "label_pos": "default",
      "required": false,
      "default": "",
      "placeholder": "",
      "input_limit": "",
      "input_limit_type": "characters",
      "input_limit_msg": "Character(s) left",
      "manual_key": "",
      "help_text": "",
      "desc_text": "Required for delivery orders. This field only appears when Delivery is selected as the Order Type.",
      "mask": "",
      "custom_mask": "",
      "custom_name_attribute": "",
      "personally_identifiable": 1,
      "value": ""
    },
    {
      "objectType": "Field",
      "objectDomain": "fields",
      "editActive": false,
      "order": 6,
      "idAttribute": "id",
      "type": "date",
      "label": "Requested Date and Time",
      "key": "requested_datetime_1787659329993",
      "container_class": "",
      "element_class": "",
      "admin_label": "",
      "drawerDisabled": "",
      "field_label": "Requested Date and Time",
      "field_key": "requested_datetime_1787659329993",
      "label_pos": "default",
      "required": false,
      "placeholder": "",
      "help_text": "",
      "date_mode": "date_time",
      "date_format": "default",
      "year_range_start": "",
      "year_range_end": "",
      "hours_24": 0,
      "minute_increment": 5
    },
    {
      "objectType": "Field",
      "objectDomain": "fields",
      "editActive": false,
      "order": 7,
      "idAttribute": "id",
      "type": "listcheckbox",
      "label": "Menu Items",
      "key": "menu_items_1787659339993",
      "container_class": "",
      "element_class": "",
      "admin_label": "",
      "drawerDisabled": "",
      "field_label": "Menu Items",
      "field_key": "menu_items_1787659339993",
      "label_pos": "default",
      "required": true,
      "help_text": "",
      "desc_text": "Select all items you'd like to order. Prices shown are examples \u2014 edit them to match your actual menu.",
      "options": [
        {
          "errors": [],
          "max_options": 0,
          "label": "Classic Sandwich Combo - $12.00",
          "value": "classic_sandwich_combo",
          "calc": "12",
          "selected": 0,
          "order": 0
        },
        {
          "errors": [],
          "max_options": 0,
          "label": "Soup and Salad Combo - $9.50",
          "value": "soup_salad_combo",
          "calc": "9.5",
          "selected": 0,
          "order": 1
        },
        {
          "errors": [],
          "max_options": 0,
          "label": "Family Meal Tray - $45.00",
          "value": "family_meal_tray",
          "calc": "45",
          "selected": 0,
          "order": 2
        },
        {
          "errors": [],
          "max_options": 0,
          "label": "Dessert Add-On - $6.00",
          "value": "dessert_addon",
          "calc": "6",
          "selected": 0,
          "order": 3
        },
        {
          "errors": [],
          "max_options": 0,
          "label": "Beverage - $2.50",
          "value": "beverage",
          "calc": "2.5",
          "selected": 0,
          "order": 4
        }
      ]
    },
    {
      "objectType": "Field",
      "objectDomain": "fields",
      "editActive": false,
      "order": 8,
      "idAttribute": "id",
      "type": "number",
      "label": "Quantity",
      "key": "quantity_1787659349993",
      "container_class": "",
      "element_class": "",
      "admin_label": "",
      "drawerDisabled": "",
      "field_label": "Quantity",
      "field_key": "quantity_1787659349993",
      "label_pos": "default",
      "required": false,
      "default": "1",
      "placeholder": "",
      "help_text": "",
      "num_min": "1",
      "num_max": "",
      "num_step": "1",
      "value": ""
    },
    {
      "objectType": "Field",
      "objectDomain": "fields",
      "editActive": false,
      "order": 9,
      "idAttribute": "id",
      "type": "textarea",
      "label": "Special Instructions",
      "key": "special_instructions_1787659359993",
      "container_class": "",
      "element_class": "",
      "admin_label": "",
      "drawerDisabled": "",
      "field_label": "Special Instructions",
      "field_key": "special_instructions_1787659359993",
      "label_pos": "default",
      "required": false,
      "default": "",
      "placeholder": "",
      "input_limit": "",
      "input_limit_type": "characters",
      "input_limit_msg": "Character(s) left",
      "desc_text": "List any allergies, substitutions, or delivery notes here.",
      "textarea_rte": "",
      "disable_rte_mobile": "",
      "textarea_media": "",
      "value": ""
    },
    {
      "objectType": "Field",
      "objectDomain": "fields",
      "editActive": false,
      "order": 10,
      "idAttribute": "id",
      "type": "html",
      "label": "Order Total",
      "key": "order_total_display_1787659369993",
      "container_class": "",
      "element_class": "",
      "admin_label": "",
      "drawerDisabled": "",
      "field_label": "Order Total",
      "field_key": "order_total_display_1787659369993",
      "default": "<h3>Order Total: $ {calc:Order Total} </h3>"
    },
    {
      "objectType": "Field",
      "objectDomain": "fields",
      "editActive": false,
      "order": 11,
      "idAttribute": "id",
      "type": "hidden",
      "label": "Order Total (Stored Value)",
      "key": "order_total_value_1787659379993",
      "container_class": "",
      "element_class": "",
      "admin_label": "",
      "drawerDisabled": "",
      "field_label": "Order Total (Stored Value)",
      "field_key": "order_total_value_1787659379993",
      "default": "{calc:Order Total}"
    },
    {
      "objectType": "Field",
      "objectDomain": "fields",
      "editActive": false,
      "order": 12,
      "idAttribute": "id",
      "type": "hcaptcha",
      "label": "Spam Check",
      "key": "spam_check_1787659389993",
      "container_class": "",
      "element_class": "",
      "admin_label": "",
      "drawerDisabled": "",
      "field_label": "Spam Check",
      "field_key": "spam_check_1787659389993",
      "label_pos": "hidden",
      "required": false
    },
    {
      "objectType": "Field",
      "objectDomain": "fields",
      "editActive": false,
      "order": 13,
      "idAttribute": "id",
      "type": "submit",
      "label": "Submit Order",
      "processing_label": "Processing",
      "container_class": "",
      "element_class": "",
      "key": "submit_1787659399993",
      "admin_label": "",
      "field_label": "Submit Order",
      "field_key": "submit_1787659399993"
    }
  ],
  "actions": [
    {
      "title": "",
      "key": "",
      "type": "successmessage",
      "active": "1",
      "created_at": "2026-08-25 00:00:00",
      "label": "Success Message",
      "objectType": "Action",
      "objectDomain": "actions",
      "editActive": "",
      "message": "Thanks for your order! A confirmation with your order total has been sent to your email. We'll have it ready for your selected pickup or delivery time.",
      "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": "Thanks for your order! A confirmation with your order total has been sent to your email. We'll have it ready for your selected pickup or delivery time."
    },
    {
      "title": "",
      "key": "",
      "type": "email",
      "active": "1",
      "created_at": "2026-08-25 00:00:00",
      "label": "Admin Email",
      "objectType": "Action",
      "objectDomain": "actions",
      "editActive": "",
      "order": "2",
      "to": "{wp:admin_email}",
      "reply_to": "",
      "email_subject": "New Food Order Received",
      "email_message": "{fields_table}",
      "email_message_plain": "",
      "from_name": "",
      "from_address": "",
      "email_format": "html",
      "cc": "",
      "bcc": ""
    },
    {
      "title": "",
      "key": "",
      "type": "save",
      "active": "1",
      "created_at": "2026-08-25 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": "email_1787659289993",
      "fields-save-toggle": "save_all",
      "exception_fields": [],
      "set_subs_to_expire": "0",
      "subs_expire_time": "90"
    },
    {
      "title": "",
      "key": "",
      "type": "email",
      "active": "1",
      "created_at": "2026-08-25 00:00:00",
      "label": "Email Confirmation",
      "objectType": "Action",
      "objectDomain": "actions",
      "editActive": "",
      "order": "4",
      "to": "{field:email_1787659289993}",
      "reply_to": "",
      "email_subject": "Your Food Order Confirmation",
      "email_message": "<p>Hi {field:full_name_1787659279993} , thanks for your order!</p><p><strong>Order Type:</strong> {field:order_type_1787659309993} </p><p><strong>Delivery Address:</strong> {field:delivery_address_1787659319993} </p><p><strong>Requested Date and Time:</strong> {field:requested_datetime_1787659329993} </p><p><strong>Menu Items:</strong> {field:menu_items_1787659339993} </p><p><strong>Quantity:</strong> {field:quantity_1787659349993} </p><p><strong>Special Instructions:</strong> {field:special_instructions_1787659359993} </p><p><strong>Order Total:</strong> $ {calc:Order Total} </p>",
      "email_message_plain": "",
      "from_name": "",
      "from_address": "",
      "email_format": "html",
      "cc": "",
      "bcc": ""
    },
    {
      "title": "",
      "key": "",
      "type": "redirect",
      "active": "0",
      "created_at": "2026-08-25 00:00:00",
      "label": "Redirect (Optional)",
      "objectType": "Action",
      "objectDomain": "actions",
      "editActive": "",
      "order": "5",
      "redirect_url": ""
    },
    {
      "title": "",
      "key": "",
      "type": "paypal-checkout",
      "active": "0",
      "created_at": "2026-08-25 00:00:00",
      "label": "PayPal Checkout Payment",
      "objectType": "Action",
      "objectDomain": "actions",
      "editActive": "",
      "order": "6",
      "environment": "sandbox",
      "client_id": "",
      "client_secret": "",
      "amount": "{calc:Order Total}",
      "currency": "USD",
      "description": "Food Order Payment",
      "billing_address_required": "0",
      "button_style": "gold"
    }
  ]
}