Skip to content

Instantly share code, notes, and snippets.

@Pradnya-Paranjape
Created December 15, 2016 09:44
Show Gist options
  • Save Pradnya-Paranjape/74181c3de7617b979d1bf8e45d46711b to your computer and use it in GitHub Desktop.
Save Pradnya-Paranjape/74181c3de7617b979d1bf8e45d46711b to your computer and use it in GitHub Desktop.
update admin_settings set black_box = {"@type":"d","form":[[{"type":"contactBlock","markdown_text":"Contact block","map_to":"","label":"<p>Contact block</p>","name":"-116111594152709","colSize":2,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"contactBlock","innerFields":[{"type":"choice","markdown_text":"Preferred contact number","label":"<p>Preferred contact number</p>","name":"-116111594152781","colSize":1,"options":[{"id":"-116111594152764","label":"Home number","@type":"d","@version":0},{"id":"-116111594152781","label":"Mobile number","@type":"d","@version":0},{"id":"-116111594152781","label":"Work number","@type":"d","@version":0}],"value":"","hasError":false,"error":[],"required":true,"isTrigger":false,"isDependent":false,"activeDependent":true,"@type":"d","@version":0},{"type":"choice","markdown_text":"Alternate contact number","label":"<p>Alternate contact number</p>","name":"-116111594152781","colSize":1,"options":[{"id":"-116111594152764","label":"Home number","@type":"d","@version":0},{"id":"-116111594152781","label":"Mobile number","@type":"d","@version":0},{"id":"-116111594152781","label":"Work number","@type":"d","@version":0},{"id":"-116111594152781","label":"I do not have an additional contact number","@type":"d","@version":0}],"value":"","hasError":false,"error":[],"required":false,"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0},{"type":"text","markdown_text":"Home number","map_to":"contact_number","label":"<p>Home number</p>","name":"-116111594152781","colSize":1,"mapToOption":"-116111594152764","value":"","hasError":false,"error":[],"required":true,"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0},{"type":"text","markdown_text":"Mobile number","map_to":"contact_number","label":"<p>Mobile number</p>","name":"-116111594152781","colSize":1,"mapToOption":"-116111594152781","value":"","hasError":false,"error":[],"required":true,"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0},{"type":"text","markdown_text":"Work number","map_to":"contact_number","label":"<p>Work number</p>","name":"-116111594152781","colSize":1,"mapToOption":"-116111594152781","value":"","hasError":false,"error":[],"required":true,"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0}]},null],[{"type":"heading","markdown_text":"Address","map_to":"","label":"<p>Address</p>","name":"-116111594152781","colSize":2,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"addressH_"},null],[{"type":"text","markdown_text":"Address Line 1:","map_to":"address_line_1","label":"<p>Address Line 1:</p>","name":"-116111594152782","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"address1","required":true,"address":true},{"type":"text","markdown_text":"Address Line 2:","map_to":"address_line_2","label":"<p>Address Line 2:</p>","name":"-116111594152782","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"address2","address":true}],[{"type":"text","markdown_text":"City/Town:","map_to":"city","label":"<p>City/Town:</p>","name":"-116111594152782","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"city","address":true},{"type":"text","markdown_text":"County:","map_to":"county","label":"<p>County:</p>","name":"-116111594152782","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"county","address":true}],[{"type":"text","markdown_text":"Country:","map_to":"country","label":"<p>Country:</p>","name":"-116111594152784","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"country","address":true},{"type":"text","markdown_text":"Postcode:","map_to":"postcode","label":"<p>Postcode:</p>","name":"-116111594152786","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"postcode","address":true}],[{"type":"heading","markdown_text":"Attach Document(s)","map_to":"","label":"<p>Attach Document(s)</p>","name":"-116111594152786","colSize":2,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"attachDocsH"},null],[{"type":"file","markdown_text":"Attach CV:","map_to":"files","label":"<p>Attach CV:</p>","name":"-116111594152786","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"CV","fileType":"CV"},{"type":"file","markdown_text":"Cover letter:","map_to":"files","label":"<p>Cover letter:</p>","name":"-116111594152786","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"cover_letter","fileType":"Cover Letter"}],[{"type":"heading","markdown_text":"Professional Details","map_to":"","label":"<p>Professional Details</p>","name":"-116111594152786","colSize":2,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"professionalH_"},null],[{"type":"choice","markdown_text":"Are you currently employed?","map_to":"","label":"<p>Are you currently employed?</p>","name":"-116111594152787","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"isEmployed","required":true},{"type":"text","markdown_text":"Current job title:","map_to":"current_jobtitle","label":"<p>Current job title:</p>","name":"-116111594152787","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"currentJobTitle","required":true}],[{"type":"text","markdown_text":"Current employer:","map_to":"current_employer","label":"<p>Current employer:</p>","name":"-116111594152787","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"currentEmployer","required":true},{"type":"text","markdown_text":"Current salary:","map_to":"current_salary","label":"<p>Current salary:</p>","name":"-116111594152787","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"currentSalary","required":true}],[{"type":"choice","markdown_text":"Availability/Notice period:","map_to":"notice_period","label":"<p>Availability/Notice period:</p>","name":"-116111594152787","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"availability","required":true},{"type":"text","markdown_text":"Expected salary:","map_to":"expected_salary","label":"<p>Expected salary:</p>","name":"-116111594152787","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"expectedSalary"}],[{"type":"heading","markdown_text":"Right To Work","map_to":"right_to_work_group","label":"<p>Right To Work</p>","name":"-116111594152787","colSize":2,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"rightToWorkH"},null],[{"type":"choice","markdown_text":"Please select which group best represents your current status:","map_to":"","label":"<p>Please select which group best represents your current status:</p>","name":"-116111594152787","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"rightToWorkGroup","required":true},{"type":"text","markdown_text":"Please specify your right to work status:","map_to":"","label":"<p>Please specify your right to work status:</p>","name":"-116111594152791","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"rightToWorkOtherStatus","required":true}],[{"type":"textarea","markdown_text":"Add additional notes about your right to work:","map_to":"","label":"<p>Add additional notes about your right to work:</p>","name":"-116111594152791","colSize":2,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"notesForRightToWork"},null],[{"type":"heading","markdown_text":"Disabled Applicants","map_to":"","label":"<p>Disabled Applicants</p>","name":"-116111594152795","colSize":2,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"disabledApplicantsH"},null],[{"type":"choice","markdown_text":"Do you consider yourself to be disabled as defined by the Equality Act 2010?","map_to":"physical_disability","label":"<p>Do you consider yourself to be disabled as defined by the Equality Act 2010?</p>","name":"-116111594152795","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"isDisabled","required":true,"helpText":"<p>The Equality Act defines disability as 'A physical or mental impairment which has a substantial and long-term effect on the person's ability to carry out normal day-to-day activities'</p>"},{"type":"radio","markdown_text":"Are there any special arrangements you require?","map_to":"","label":"<p>Are there any special arrangements you require?</p>","name":"-116111594152795","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"specialArrangements","required":true}],[{"type":"textarea","markdown_text":"Please detail all special arrangements that may be required for interview:","map_to":"","label":"<p>Please detail all special arrangements that may be required for interview:</p>","name":"-116111594152795","colSize":2,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"specialArrangementDetails","required":true},null],[{"type":"heading","markdown_text":"Diversity Information","map_to":"","label":"<p>Diversity Information</p>","name":"-116111594152795","colSize":2,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"diversityInfoH"},null],[{"type":"choice","markdown_text":"I give my consent to you to use this data for the purpose of equal opportunities monitoring:","map_to":"","label":"<p>I give my consent to you to use this data for the purpose of equal opportunities monitoring:</p>","name":"-116111594152837","colSize":2,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"equalOpportunity","required":true,"sensitive":true},null],[{"type":"choice","markdown_text":"Nationality:","map_to":"nationality","label":"<p>Nationality:</p>","name":"-116111594152837","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"nationality","sensitive":true,"required":true},{"type":"emptyCell","markdown_text":"NationalityFiller","map_to":"","label":"<p>NationalityFiller</p>","name":"-116111594152837","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"NationalityFiller"}],[{"type":"choice","markdown_text":"Gender:","map_to":"gender","label":"<p>Gender:</p>","name":"-116111594152839","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"gender","sensitive":true,"required":true},{"type":"emptyCell","markdown_text":"GenderFiller","map_to":"","label":"<p>GenderFiller</p>","name":"-116111594152839","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"GenderFiller"}],[{"type":"choice","markdown_text":"Religion:","map_to":"religion","label":"<p>Religion:</p>","name":"-116111594152839","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"religion","sensitive":true,"required":true},{"type":"text","markdown_text":"Please specify your religion:","map_to":"","label":"<p>Please specify your religion:</p>","name":"-116111594152840","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"otherReligion","sensitive":true,"required":true}],[{"type":"choice","markdown_text":"Ethnic origin:","map_to":"","label":"<p>Ethnic origin:</p>","name":"-116111594152840","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"ethnicOrigin","sensitive":true,"required":true},{"type":"text","markdown_text":"Please specify your ethnic origin:","map_to":"","label":"<p>Please specify your ethnic origin:</p>","name":"-116111594152840","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"otherEthnicity","sensitive":true,"required":true}],[{"type":"confirmBlock","markdown_text":"Statement","map_to":"","label":"<p>Statement</p>","name":"-116111594152840","colSize":2,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"statement"},null]],"meta":{"formRowCount":24,"rules":[{"ruleType":"fieldRuleOther","triggerField":{"type":"choice","markdown_text":"Are you currently employed?","map_to":"","label":"<p>Are you currently employed?</p>","name":"-116111594152787","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"isEmployed","required":true},"targetField":[{"type":"text","markdown_text":"Current job title:","map_to":"current_jobtitle","label":"<p>Current job title:</p>","name":"-116111594152787","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"currentJobTitle","required":true},{"type":"text","markdown_text":"Current employer:","map_to":"current_employer","label":"<p>Current employer:</p>","name":"-116111594152787","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"currentEmployer","required":true},{"type":"text","markdown_text":"Current salary:","map_to":"current_salary","label":"<p>Current salary:</p>","name":"-116111594152787","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"currentSalary","required":true}]},{"ruleType":"fieldRuleOther","triggerField":{"type":"choice","markdown_text":"Please select which group best represents your current status:","map_to":"","label":"<p>Please select which group best represents your current status:</p>","name":"-116111594152787","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"rightToWorkGroup","required":true},"targetField":[{"type":"text","markdown_text":"Please specify your right to work status:","map_to":"","label":"<p>Please specify your right to work status:</p>","name":"-116111594152791","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"rightToWorkOtherStatus","required":true}]},{"ruleType":"fieldRuleOther","triggerField":{"type":"choice","markdown_text":"Please select which group best represents your current status:","map_to":"","label":"<p>Please select which group best represents your current status:</p>","name":"-116111594152787","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"rightToWorkGroup","required":true},"targetField":[{"type":"textarea","markdown_text":"Add additional notes about your right to work:","map_to":"","label":"<p>Add additional notes about your right to work:</p>","name":"-116111594152791","colSize":2,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"notesForRightToWork"}]},{"ruleType":"fieldRuleOther","triggerField":{"type":"choice","markdown_text":"Do you consider yourself to be disabled as defined by the Equality Act 2010?","map_to":"physical_disability","label":"<p>Do you consider yourself to be disabled as defined by the Equality Act 2010?</p>","name":"-116111594152795","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"isDisabled","required":true,"helpText":"<p>The Equality Act defines disability as 'A physical or mental impairment which has a substantial and long-term effect on the person's ability to carry out normal day-to-day activities'</p>"},"targetField":[{"type":"radio","markdown_text":"Are there any special arrangements you require?","map_to":"","label":"<p>Are there any special arrangements you require?</p>","name":"-116111594152795","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"specialArrangements","required":true}]},{"ruleType":"fieldRuleOther","triggerField":{"type":"radio","markdown_text":"Are there any special arrangements you require?","map_to":"","label":"<p>Are there any special arrangements you require?</p>","name":"-116111594152795","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"specialArrangements","required":true},"targetField":[{"type":"textarea","markdown_text":"Please detail all special arrangements that may be required for interview:","map_to":"","label":"<p>Please detail all special arrangements that may be required for interview:</p>","name":"-116111594152795","colSize":2,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"specialArrangementDetails","required":true}]},{"ruleType":"fieldRuleOther","triggerField":{"type":"choice","markdown_text":"I give my consent to you to use this data for the purpose of equal opportunities monitoring:","map_to":"","label":"<p>I give my consent to you to use this data for the purpose of equal opportunities monitoring:</p>","name":"-116111594152837","colSize":2,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"equalOpportunity","required":true,"sensitive":true},"targetField":[{"type":"choice","markdown_text":"Nationality:","map_to":"nationality","label":"<p>Nationality:</p>","name":"-116111594152837","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"nationality","sensitive":true,"required":true},{"type":"choice","markdown_text":"Gender:","map_to":"gender","label":"<p>Gender:</p>","name":"-116111594152839","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"gender","sensitive":true,"required":true},{"type":"choice","markdown_text":"Religion:","map_to":"religion","label":"<p>Religion:</p>","name":"-116111594152839","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"religion","sensitive":true,"required":true},{"type":"choice","markdown_text":"Ethnic origin:","map_to":"","label":"<p>Ethnic origin:</p>","name":"-116111594152840","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"ethnicOrigin","sensitive":true,"required":true}]},{"ruleType":"fieldRuleOther","triggerField":{"type":"choice","markdown_text":"Religion:","map_to":"religion","label":"<p>Religion:</p>","name":"-116111594152839","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"religion","sensitive":true,"required":true},"targetField":[{"type":"text","markdown_text":"Please specify your religion:","map_to":"","label":"<p>Please specify your religion:</p>","name":"-116111594152840","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"otherReligion","sensitive":true,"required":true}]},{"ruleType":"fieldRuleOther","triggerField":{"type":"choice","markdown_text":"Ethnic origin:","map_to":"","label":"<p>Ethnic origin:</p>","name":"-116111594152840","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"ethnicOrigin","sensitive":true,"required":true},"targetField":[{"type":"text","markdown_text":"Please specify your ethnic origin:","map_to":"","label":"<p>Please specify your ethnic origin:</p>","name":"-116111594152840","colSize":1,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"otherEthnicity","sensitive":true,"required":true}]}],"formId":"6f10e427-e4f8-4107-9f8d-5fa84babbf76","formName":"Test form","theme":"default","builder_type":"desktop"}} where id = '6f10e427-e4f8-4107-9f8d-5fa84babbf76'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment