{
"form": {
"format": "inline",
"action": "/_resources/php/submit-form.php",
"recipient_email": "officeservices@pasadena.edu",
"successMessage": "Thank you. Your form has been successfully submitted. You should receive a confirmation email shortly. Most orders are ready within 2 business days.",
"fields": [
{
"type": "text",
"label": {
"attributes": {} ,
"title": "Cost Center #"
},
"attributes": {
"name": "costCenter",
"class": "form-control",
"placeholder": "Enter 22 Digit Cost Center Number",
"pattern": "[\\d]{22}",
"value": "",
"required": "required"
},
"format": "inline"
},
{
"type": "text",
"label": {
"attributes": {} ,
"title": "Building / Room"
},
"format": "inline",
"attributes": {
"name": "room",
"class": "form-control",
"placeholder": "Enter Building / Room Number",
"value": "",
"required": "required"
}
},
{
"type": "date",
"label": {
"attributes": {} ,
"title": "Date"
},
"format": "inline",
"attributes": {
"name": "date",
"class": "form-control",
"placeholder": "",
"value": "",
"required": "required"
}
},
{
"type": "text",
"label": {
"attributes": {} ,
"title": "Name"
},
"format": "inline",
"attributes": {
"class": "form-control",
"placeholder": "Enter First and Last Name",
"name": "name",
"value": "",
"required": "required"
}
},
{
"type": "email",
"label": {
"title": "Email"
},
"attributes": {
"class": "form-control",
"placeholder": "Enter email addess",
"name": "email",
"required": "required"
}
},
{
"type": "text",
"label": {
"attributes": {} ,
"title": "Extension"
},
"format": "inline",
"attributes": {
"name": "ext",
"class": "form-control",
"placeholder": "Enter Phone Number or PCC Ext.",
"value": "",
"required": "required"
}
},
{
"type": "text",
"label": {
"attributes": {} ,
"title": "Department"
},
"format": "inline",
"attributes": {
"name": "department",
"class": "form-control",
"placeholder": "Enter Department",
"value": "",
"required": "required"
}
},
{
"type": "radioset",
"label": {
"attributes": {},
"title": "Delivery Type"
},
"format": "inline",
"values": ["Pickup", "Delivery"],
"attributes": {
"name": "deliveryType",
"class": "checkbox"
}
},
{
"type": "textarea",
"label": {
"attributes": {} ,
"title": "Special Instructions"
},
"format": "inline",
"attributes": {
"name": "specialInstructions",
"class": "form-control",
"placeholder": "",
"value": ""
}
},
{
"type": "hr"
},
{
"type": "text",
"label": {
"title": "Quantity of Copies"
},
"attributes": {
"class": "form-control",
"name": "quantity"
}
},
{
"type": "text",
"label": {
"title": "Total Number of Originals"
},
"attributes": {
"class": "form-control",
"name": "originals"
}
},
{
"type": "hr"
},
{
"type": "radioset",
"label": {
"attributes": {} ,
"title": "Test or Quiz? (all Marked Test & Quizzes are Shrink Wrapped)"
},
"format": "inline",
"values": ["Yes", "No"],
"attributes": {
"name": "originalIs",
"class": "checkbox"
}
},
{
"type": "radioset",
"label": {
"attributes": {} ,
"title": "Output"
},
"format": "inline",
"values": ["Black and White", "Color"],
"attributes": {
"name": "output",
"class": "radio"
}
},
{
"type": "radioset",
"label": {
"attributes": {} ,
"title": "Print"
},
"format": "inline",
"values": ["1 Sided", "2 Sided"],
"attributes": {
"name": "print",
"class": "radio"
}
},
{
"type": "hr"
},
{
"type": "checkboxset",
"label": {
"attributes": {} ,
"title": "Finish"
},
"format": "inline",
"values": ["Portrait Staple", "Landscape Staple", "Portrait Double-Stitched (not booklet maker)", "Collated", "Uncollated", "3-Hole Punch"],
"attributes": {
"name": "finish",
"class": "checkbox"
}
},
{
"type": "hr"
},
{
"type": "checkboxset",
"label": {
"attributes": {} ,
"title": "Additional Options"
},
"format": "inline",
"values": ["Show"],
"attributes": {
"name": "showAdditionalOptions",
"class": "checkbox"
}
},
{
"type": "group",
"attributes":{
"id": "additional-options",
"class": "hidden"
},
"elements":[
{
"type": "group",
"attributes":{
"id": "color-options"
},
"elements":[
{
"type": "hr"
},
{
"type": "label",
"title": "Color Copies*",
"attributes": {}
},
{
"type": "checkboxset",
"label": {
"attributes": {} ,
"title": "28# Bright White"
},
"format": "inline",
"values": ["8.5x11", "11x17"],
"attributes": {
"name": "brightWhite",
"class": "checkbox"
}
},
{
"type": "checkboxset",
"label": {
"attributes": {} ,
"title": "80# / 100#"
},
"format": "inline",
"values": ["8.5x11", "11x17"],
"attributes": {
"name": "eightyOneHundred",
"class": "checkbox"
}
},
{
"type": "checkboxset",
"label": {
"attributes": {} ,
"title": "110# White Index"
},
"format": "inline",
"values": ["8.5x11", "11x17"],
"attributes": {
"name": "whiteIndex",
"class": "checkbox"
}
}
]
},
{
"type": "hr"
},
{
"type": "checkboxset",
"label": {
"attributes": {} ,
"title": "Binding Options (Black Only)"
},
"format": "inline",
"values": ["Coil", "Comb"],
"attributes": {
"name": "bindingOptions",
"class": "checkbox"
}
},
{
"type": "hr"
},
{
"type": "radioset",
"label": {
"attributes": {} ,
"title": "Cover Options"
},
"format": "inline",
"values": ["Front", "Back", "Both"],
"attributes": {
"name": "coverOptions",
"class": "checkbox"
}
},
{
"type": "radioset",
"label": {
"attributes": {} ,
"title": "Cover Type"
},
"format": "inline",
"values": ["None", "110# Index"],
"attributes": {
"name": "coverOptions2",
"class": "radio"
}
},
{
"type": "checkboxset",
"format": "inline",
"label": {
"attributes": {} ,
"title": ""
},
"values": ["Clear Front and 110# Black back (Recommended with Coil or Comb Binding)"],
"attributes": {
"name": "coverOptions3",
"class": "checkbox"
}
},
{
"type": "hr"
},
{
"type": "label",
"title": "Paper Stock All orders will be run on 8.5 x 11, 20# White Bond paper unless otherwise indicated.",
"attributes": {}
},
{
"type": "radioset",
"label": {
"attributes": {} ,
"title": "Pastel Bond Colors"
},
"format": "inline",
"values": ["Pink", "Yellow", "Blue", "Green", "Buff", "Goldenrod", "Natural", "Gray", "Lavender", "Cherry"],
"attributes": {
"name": "pastelColors",
"class": "checkbox"
}
},
{
"type": "radioset",
"label": {
"attributes": {} ,
"title": "Index Colors"
},
"format": "inline",
"values": ["White", "Yellow", "Blue", "Green", "Gray", "Natural"],
"attributes": {
"name": "indexColors",
"class": "checkbox"
}
},
{
"type": "radioset",
"label": {
"attributes": {} ,
"title": "8.5 x 14 Size"
},
"format": "inline",
"attributes": {
"name": "size",
"class": "checkbox"
},
"values": ["White"]
},
{
"type": "radioset",
"label": {
"attributes": {} ,
"title": "Solar Flair (Hot) Colors"
},
"format": "inline",
"values": ["Galactic Green", "Sunset Pink", "Super Nova Blue", "sunflair Yellow", "Fireball Red", "Cosmic Orange", "Planetary Purple"],
"attributes": {
"name": "solarFlair",
"class": "checkbox"
}
},
{
"type": "radioset",
"label": {
"attributes": {} ,
"title": "Index (Hot) Colors"
},
"format": "inline",
"values": ["Fireball Red", "Super Nova Blue", "Solarflare Yellow", "Sunset Pink", "Galactic Green"],
"attributes": {
"name": "indexHotColors",
"class": "checkbox"
}
},
{
"type": "radioset",
"label": {
"attributes": {} ,
"title": "11 x 17 Bond / Index"
},
"format": "inline",
"values": ["White", "Gray"],
"attributes": {
"name": "bondIndex",
"class": "checkbox"
}
},
{
"type": "radioset",
"label": {
"attributes": {} ,
"title": "NCR Paper"
},
"format": "inline",
"values": ["2-part", "3-part", "4-part"],
"attributes": {
"name": "ncrPaper",
"class": "checkbox"
}
},
{
"type": "textarea",
"label": {
"attributes": {} ,
"title": "Special Instructions"
},
"format": "inline",
"attributes": {
"name": "ncrSpecialInstructions",
"class": "form-control",
"placeholder": "",
"value": ""
}
},
{
"type": "hr"
},
{
"type": "radioset",
"label": {
"attributes": {} ,
"title": "Booklet Maker (Double-stapled and folded)"
},
"format": "inline",
"values": ["8.5 x 11 = 5.5 x 8.5 booklet", "11 x 17 = 5.5 x 11 booklet"],
"attributes": {
"name": "bookletMaker",
"class": "checkbox"
}
},
{
"type": "hr"
},
{
"type": "radioset",
"label": {
"attributes": {} ,
"title": "Folding"
},
"format": "inline",
"values": ["Letterfold", "Half", "Z-Fold"],
"attributes": {
"name": "folding",
"class": "checkbox"
}
}
]
},
{
"type": "hr"
},
{
"type": "file",
"attributes": {
"name": "uploaded_file"
},
"label": {
"title": "Please upload your file (.pdf, .doc, .docx only. 20MB max)."
}
},
{
"type": "hr"
},
{
"type": "label",
"title": "Lamination and Mounting Available*.",
"attributes": {}
},
{
"type": "hr"
},
{
"type": "label",
"title": "Special Options: Tabs (White only)",
"attributes": {}
},
{
"type": "label",
"title": "*Allow Extra Time for Special Jobs, Binding or Other Options - Send Both Copies to Office Services",
"attributes": {}
},
{
"type": "submit",
"attributes": {
"class": "btn btn-default",
"value": "Submit"
}
}
],
"conditions": [
{
"event": "click",
"selector": "[name='showAdditionalOptions[]']",
"ifs": [
{
"if":[
{
"boolean": "first",
"condition": "this is_checked"
}
],
"then": "show #additional-options",
"else": "hide #additional-options"
},
{
"if":[
{
"boolean": "first",
"condition": "this is_equal_to show"
}
],
"then": "change_html label[for='showAdditionalOptions[]'] Hide",
"else": "change_html label[for='showAdditionalOptions[]'] Show"
}
]
},
{
"event": "click",
"selector": "[name='output[]']",
"ifs": [
{
"if":[
{
"boolean": "first",
"condition": "this is_equal_to Color"
}
],
"then": "show #color-options",
"else": "hide #color-options"
}
]
}
]
}
}