/* This view acts as a rendering template to render InitScript(and server-side Form's descriptor) in FormContainerBlock's client-side for Form[00b9deec-d27b-4427-bbb5-cd7fe051564c]. TECHNOTE: all serverside (paths, dynamic values) of EPiServerForms will be transfered to client side here in this section. */ (function initializeOnRenderingFormDescriptor() { // each workingFormInfo is store inside epi.EPiServer.Forms, lookup by its FormGuid var workingFormInfo = epi.EPiServer.Forms["00b9deec-d27b-4427-bbb5-cd7fe051564c"] = { Id: "00b9deec-d27b-4427-bbb5-cd7fe051564c", Name: "ChemSoc Registration form UK and ROI", // whether this Form can be submitted which relates to the visitor's data (cookie, identity) and Form's settings (AllowAnonymous, AllowXXX) SubmittableStatus : {"submittable":true,"message":""}, ConfirmMessage : "", ShowNavigationBar : true, ShowSummarizedData : false, // serialize the dependency configuration of this form to clientside DependenciesInfo : [], // keep all fieldName which are not satisfied the field dependency conditions DependencyInactiveElements: [], // Validation info, for executing validating on client side ValidationInfo : [{"targetElementName":"__field_41343","targetElementId":"ce9e1737-64db-4c1b-a3cd-bed3dea03376","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_41344","targetElementId":"dd3ad8d4-0110-418d-a762-1be90b35a76a","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_41345","targetElementId":"053e86fc-bad8-47b0-b92c-f5858dfbd992","validators":[{"type":"EPiServer.Forms.Implementation.Validation.EmailValidator","description":null,"model":{"jsPattern":"(^$)|(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)","dotNetPattern":"(^$)|(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)","message":"Enter a valid email address.","validationCssClass":null,"additionalAttributes":null}}]},{"targetElementName":"__field_41348","targetElementId":"b7d55fb8-a38e-4c5c-9be9-1d4f3a731f61","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_41349","targetElementId":"351a17bc-be02-4392-b193-1b5763a69e94","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}},{"type":"EPiServer.Forms.Implementation.Validation.EmailValidator","description":null,"model":{"jsPattern":"(^$)|(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)","dotNetPattern":"(^$)|(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)","message":"Enter a valid email address.","validationCssClass":null,"additionalAttributes":null}}]},{"targetElementName":"__field_41353","targetElementId":"aee2fba0-f799-4cee-957e-ec84aa65b034","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}},{"type":"EPiServer.Forms.Implementation.Validation.DateDDMMYYYYValidator","description":null,"model":{"jsPattern":"^(((0[1-9]|[12]\\d|3[01])\\/(0[13578]|1[02])\\/((19|[2-9]\\d)\\d{2}))|((0[1-9]|[12]\\d|30)\\/(0[13456789]|1[012])\\/((19|[2-9]\\d)\\d{2}))|((0[1-9]|1\\d|2[0-8])\\/02\\/((19|[2-9]\\d)\\d{2}))|(29\\/02\\/(19|[2-9]\\d)([02468][048]|[13579][26])))$","dotNetPattern":"^(((0[1-9]|[12]\\d|3[01])\\/(0[13578]|1[02])\\/((19|[2-9]\\d)\\d{2}))|((0[1-9]|[12]\\d|30)\\/(0[13456789]|1[012])\\/((19|[2-9]\\d)\\d{2}))|((0[1-9]|1\\d|2[0-8])\\/02\\/((19|[2-9]\\d)\\d{2}))|(29\\/02\\/(19|[2-9]\\d)([02468][048]|[13579][26])))$","message":"Enter a date in the DD/MM/YYYY format.","validationCssClass":null,"additionalAttributes":null}}]},{"targetElementName":"__field_41355","targetElementId":"e6bb08d6-5a94-4c87-9264-c90d551f86fb","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}},{"type":"EPiServer.Forms.Implementation.Validation.DateDDMMYYYYValidator","description":null,"model":{"jsPattern":"^(((0[1-9]|[12]\\d|3[01])\\/(0[13578]|1[02])\\/((19|[2-9]\\d)\\d{2}))|((0[1-9]|[12]\\d|30)\\/(0[13456789]|1[012])\\/((19|[2-9]\\d)\\d{2}))|((0[1-9]|1\\d|2[0-8])\\/02\\/((19|[2-9]\\d)\\d{2}))|(29\\/02\\/(19|[2-9]\\d)([02468][048]|[13579][26])))$","dotNetPattern":"^(((0[1-9]|[12]\\d|3[01])\\/(0[13578]|1[02])\\/((19|[2-9]\\d)\\d{2}))|((0[1-9]|[12]\\d|30)\\/(0[13456789]|1[012])\\/((19|[2-9]\\d)\\d{2}))|((0[1-9]|1\\d|2[0-8])\\/02\\/((19|[2-9]\\d)\\d{2}))|(29\\/02\\/(19|[2-9]\\d)([02468][048]|[13579][26])))$","message":"Enter a date in the DD/MM/YYYY format.","validationCssClass":null,"additionalAttributes":null}}]},{"targetElementName":"__field_41352","targetElementId":"5b083e62-e0fc-4861-860a-b89e8872c4b5","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_41945","targetElementId":"555e218a-fc0b-45af-8f0f-23d0bfc0e5d7","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]}], // Steps information for driving multiple-step Forms. StepsInfo : { Steps: [{"index":0,"attachedUrl":"","dependField":null,"dependCondition":null,"isActive":true,"attachedContentLink":"","dependValue":"","elementName":"__field_","guid":"00000000-0000-0000-0000-000000000000"}] }, FieldsExcludedInSubmissionSummary: [], ElementsInfo: {"__field_41343":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"University","customBinding":false},"__field_41344":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"ChemSoc name","customBinding":false},"__field_41345":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"General ChemSoc email address (where applicable)","customBinding":false},"__field_41346":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"ChemSoc website and other pages e.g. Facebook (where applicable)","customBinding":false},"__field_41942":{"type":"EPiServer.Forms.Implementation.Elements.ParagraphTextElementBlock","friendlyName":"ÐÂÔÂÖ±²¥appÏÂÔØ liaison officer intro","customBinding":false},"__field_41348":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"RSC liason officer name","customBinding":false},"__field_41349":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"RSC liason officer email","customBinding":false},"__field_41350":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"RSC liason officer membership number","customBinding":false},"__field_41943":{"type":"EPiServer.Forms.Implementation.Elements.ParagraphTextElementBlock","friendlyName":"Committee information","customBinding":false},"__field_41353":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Committee start date","customBinding":false},"__field_41355":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Committee end date","customBinding":false},"__field_41354":{"type":"EPiServer.Forms.Implementation.Elements.ParagraphTextElementBlock","friendlyName":"paragraph-text-element-block-1","customBinding":false},"__field_41352":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"Committee positions and names","customBinding":false},"__field_41944":{"type":"EPiServer.Forms.Implementation.Elements.ParagraphTextElementBlock","friendlyName":"privacy","customBinding":false},"__field_41945":{"type":"EPiServer.Forms.Implementation.Elements.ChoiceElementBlock","friendlyName":"privacy policy","customBinding":false},"__field_41356":{"type":"EPiServer.Forms.Implementation.Elements.SubmitButtonElementBlock","friendlyName":"Submit","customBinding":false}}, DataSubmitController: "/EPiServer.Forms/DataSubmit" }; /// TECHNOTE: Calculation at FormInfo level, and these values will be static input for later processing. workingFormInfo.StepsInfo.FormHasNoStep_VirtualStepCreated = true; // this FLAG will be true, if Editor does not put any FormStep. Engine will create a virtual step, with empty GUID workingFormInfo.StepsInfo.FormHasNothing = false; // this FLAG will be true if FormContainer has no element at all workingFormInfo.StepsInfo.AllStepsAreNotLinked = true; // this FLAG will be true, if all steps all have contentLink=="" (emptyString) })();