{
  "name": "Recommendation Request Form",
  "description": "Collects student requests for a recommendation letter.",
  "category": "Academic",
  "tags": [
    "recommendation",
    "reference",
    "student",
    "academic",
    "application"
  ],
  "version": 1,
  "form_data": {
    "name": "Recommendation Request Form",
    "heading": "Recommendation Request",
    "description": "Provide details for your recommendation request.",
    "formpages": [
      1
    ],
    "pages": [
      {
        "id": 1,
        "name": "Request",
        "heading": "Recommendation Details",
        "description": "Student, recommender, and deadline details.",
        "folder": "0",
        "pagerows": [
          1,
          2,
          3,
          4,
          5,
          9,
          10,
          6,
          7,
          8
        ],
        "rows": [
          {
            "id": 1,
            "name": "Student",
            "heading": "Student Information",
            "description": "Your contact details.",
            "folder": "0",
            "rowcolumns": [
              1,
              2
            ],
            "columns": [
              {
                "id": 1,
                "name": "Column 1",
                "fields": [
                  1
                ],
                "width": 6,
                "field_data": [
                  {
                    "id": 1,
                    "field_type": "inputtext",
                    "name": "Student Name",
                    "heading": "Student Name",
                    "description": "First and last name.",
                    "is_required": 1,
                    "placeholder": "Morgan Rivera"
                  }
                ]
              },
              {
                "id": 2,
                "name": "Column 2",
                "fields": [
                  2
                ],
                "width": 6,
                "field_data": [
                  {
                    "id": 2,
                    "field_type": "inputemail",
                    "name": "Student Email",
                    "heading": "Student Email",
                    "description": "Your email address.",
                    "is_required": 1,
                    "placeholder": "morgan.rivera@example.com"
                  }
                ]
              }
            ]
          },
          {
            "id": 2,
            "name": "Student Details",
            "heading": "Student Details",
            "description": "Optional details to help your recommender.",
            "folder": "0",
            "rowcolumns": [
              3,
              4
            ],
            "columns": [
              {
                "id": 3,
                "name": "Column 1",
                "fields": [
                  3
                ],
                "width": 6,
                "field_data": [
                  {
                    "id": 3,
                    "field_type": "inputphone",
                    "name": "Student Phone",
                    "heading": "Student Phone",
                    "description": "Optional contact number.",
                    "is_required": 0,
                    "placeholder": "+1 (555) 555-1234"
                  }
                ]
              },
              {
                "id": 4,
                "name": "Column 2",
                "fields": [
                  4
                ],
                "width": 6,
                "field_data": [
                  {
                    "id": 4,
                    "field_type": "inputtext",
                    "name": "Student ID",
                    "heading": "Student ID (Optional)",
                    "description": "Campus or applicant ID.",
                    "is_required": 0,
                    "placeholder": "A12345678"
                  }
                ]
              }
            ]
          },
          {
            "id": 3,
            "name": "Recommender",
            "heading": "Recommender Information",
            "description": "Who should receive this request?",
            "folder": "0",
            "rowcolumns": [
              5,
              6
            ],
            "columns": [
              {
                "id": 5,
                "name": "Column 1",
                "fields": [
                  5
                ],
                "width": 6,
                "field_data": [
                  {
                    "id": 5,
                    "field_type": "inputtext",
                    "name": "Recommender Name",
                    "heading": "Recommender Name",
                    "description": "Faculty or employer name.",
                    "is_required": 1,
                    "placeholder": "Dr. Taylor Kim"
                  }
                ]
              },
              {
                "id": 6,
                "name": "Column 2",
                "fields": [
                  6
                ],
                "width": 6,
                "field_data": [
                  {
                    "id": 6,
                    "field_type": "inputemail",
                    "name": "Recommender Email",
                    "heading": "Recommender Email",
                    "description": "Email address for the request.",
                    "is_required": 1,
                    "placeholder": "taylor.kim@university.edu"
                  }
                ]
              }
            ]
          },
          {
            "id": 4,
            "name": "Program",
            "heading": "Program Details",
            "description": "Where are you applying?",
            "folder": "0",
            "rowcolumns": [
              7,
              8
            ],
            "columns": [
              {
                "id": 7,
                "name": "Column 1",
                "fields": [
                  7
                ],
                "width": 6,
                "field_data": [
                  {
                    "id": 7,
                    "field_type": "selectfield",
                    "name": "Program Type",
                    "heading": "Program Type",
                    "description": "Select the program level.",
                    "is_required": 1,
                    "field_options": {
                      "": {
                        "Undergraduate": "undergraduate",
                        "Graduate": "graduate",
                        "Doctoral": "doctoral",
                        "Scholarship": "scholarship"
                      }
                    }
                  }
                ]
              },
              {
                "id": 8,
                "name": "Column 2",
                "fields": [
                  8
                ],
                "width": 6,
                "field_data": [
                  {
                    "id": 8,
                    "field_type": "inputtext",
                    "name": "Program Name",
                    "heading": "Program Name",
                    "description": "Specific program or institution.",
                    "is_required": 1,
                    "placeholder": "Masters in Data Science"
                  }
                ]
              }
            ]
          },
          {
            "id": 5,
            "name": "Deadline & Delivery",
            "heading": "Deadline & Delivery",
            "description": "Submission deadline and delivery method.",
            "folder": "0",
            "rowcolumns": [
              9,
              10
            ],
            "columns": [
              {
                "id": 9,
                "name": "Column 1",
                "fields": [
                  9
                ],
                "width": 6,
                "field_data": [
                  {
                    "id": 9,
                    "field_type": "inputdate",
                    "name": "Submission Deadline",
                    "heading": "Submission Deadline",
                    "description": "Date the letter is due.",
                    "is_required": 1
                  }
                ]
              },
              {
                "id": 10,
                "name": "Column 2",
                "fields": [
                  10
                ],
                "width": 6,
                "field_data": [
                  {
                    "id": 10,
                    "field_type": "selectfield",
                    "name": "Delivery Method",
                    "heading": "Delivery Method",
                    "description": "How should it be submitted?",
                    "is_required": 1,
                    "field_options": {
                      "": {
                        "Email submission": "email",
                        "Online portal": "portal",
                        "Mail": "mail"
                      }
                    }
                  }
                ]
              }
            ]
          },
          {
            "id": 9,
            "name": "Portal Details",
            "heading": "Online Portal",
            "description": "Provide portal submission details.",
            "folder": "0",
            "rowcolumns": [
              14
            ],
            "columns": [
              {
                "id": 14,
                "name": "Column 1",
                "fields": [
                  14
                ],
                "width": 12,
                "field_data": [
                  {
                    "id": 14,
                    "field_type": "inputurl",
                    "name": "Portal URL",
                    "heading": "Portal URL",
                    "description": "Link to the submission portal.",
                    "is_required": 0,
                    "is_hidden": 1,
                    "placeholder": "https://portal.example.edu"
                  }
                ]
              }
            ]
          },
          {
            "id": 10,
            "name": "Mailing Address",
            "heading": "Mailing Address",
            "description": "Provide the mailing address if required.",
            "folder": "0",
            "rowcolumns": [
              15
            ],
            "columns": [
              {
                "id": 15,
                "name": "Column 1",
                "fields": [
                  15
                ],
                "width": 12,
                "field_data": [
                  {
                    "id": 15,
                    "field_type": "inputaddress",
                    "name": "Mailing Address",
                    "heading": "Mailing Address",
                    "description": "Address for mailed recommendations.",
                    "is_required": 0,
                    "is_hidden": 1
                  }
                ]
              }
            ]
          },
          {
            "id": 6,
            "name": "Attachments",
            "heading": "Supporting Materials",
            "description": "Upload supporting documents.",
            "folder": "0",
            "rowcolumns": [
              11
            ],
            "columns": [
              {
                "id": 11,
                "name": "Column 1",
                "fields": [
                  11
                ],
                "width": 12,
                "field_data": [
                  {
                    "id": 11,
                    "field_type": "fileupload",
                    "name": "Supporting Documents",
                    "heading": "Upload Supporting Documents",
                    "description": "Resume, statement, or transcripts.",
                    "is_required": 0
                  }
                ]
              }
            ]
          },
          {
            "id": 7,
            "name": "Notes",
            "heading": "Additional Notes",
            "description": "Any extra context for the recommender.",
            "folder": "0",
            "rowcolumns": [
              12
            ],
            "columns": [
              {
                "id": 12,
                "name": "Column 1",
                "fields": [
                  12
                ],
                "width": 12,
                "field_data": [
                  {
                    "id": 12,
                    "field_type": "textarea",
                    "name": "Additional Notes",
                    "heading": "Additional Notes",
                    "description": "Include context or talking points.",
                    "is_required": 0,
                    "placeholder": "Share any details to help your recommender."
                  }
                ]
              }
            ]
          },
          {
            "id": 8,
            "name": "Consent",
            "heading": "Consent",
            "description": "Confirm the information is accurate.",
            "folder": "0",
            "rowcolumns": [
              13
            ],
            "columns": [
              {
                "id": 13,
                "name": "Column 1",
                "fields": [
                  13
                ],
                "width": 12,
                "field_data": [
                  {
                    "id": 13,
                    "field_type": "termsconditions",
                    "name": "Certification",
                    "heading": "Certification",
                    "description": "Review and accept the recommendation request terms.",
                    "is_required": 1,
                    "field_settings": {
                      "checkbox_label": "I confirm the information provided is accurate",
                      "anchor_text": "View recommendation request terms",
                      "subtext": "You must accept the terms to submit this request.",
                      "link_type": "post",
                      "page_id": 0,
                      "post_id": 0,
                      "open_in_modal": 1,
                      "accept_label": "Accept terms",
                      "decline_label": "Decline"
                    }
                  }
                ]
              }
            ]
          }
        ]
      }
    ],
    "conditional_logic": [
      {
        "all": [
          {
            "item": "field",
            "item_id": "10",
            "attribute": "value",
            "evaluator": "equal_to",
            "input": "portal"
          }
        ],
        "any": [],
        "actions": [
          {
            "item": "field",
            "item_id": "14",
            "attribute": "visibility",
            "action": "show",
            "input": ""
          },
          {
            "item": "field",
            "item_id": "15",
            "attribute": "visibility",
            "action": "hide",
            "input": ""
          }
        ]
      },
      {
        "all": [
          {
            "item": "field",
            "item_id": "10",
            "attribute": "value",
            "evaluator": "equal_to",
            "input": "mail"
          }
        ],
        "any": [],
        "actions": [
          {
            "item": "field",
            "item_id": "15",
            "attribute": "visibility",
            "action": "show",
            "input": ""
          },
          {
            "item": "field",
            "item_id": "14",
            "attribute": "visibility",
            "action": "hide",
            "input": ""
          }
        ]
      },
      {
        "all": [
          {
            "item": "field",
            "item_id": "10",
            "attribute": "value",
            "evaluator": "equal_to",
            "input": "email"
          }
        ],
        "any": [],
        "actions": [
          {
            "item": "field",
            "item_id": "14",
            "attribute": "visibility",
            "action": "hide",
            "input": ""
          },
          {
            "item": "field",
            "item_id": "15",
            "attribute": "visibility",
            "action": "hide",
            "input": ""
          }
        ]
      }
    ],
    "user_action": {
      "type": "show_success_message",
      "message": "Your recommendation request has been submitted.",
      "url": ""
    }
  }
}
