/* This view acts as a rendering template to render InitScript(and server-side Form's descriptor) in FormContainerBlock's client-side for Form[f8efdf4f-9c24-415e-b7e7-1fec23fb1abb]. 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["f8efdf4f-9c24-415e-b7e7-1fec23fb1abb"] = { Id: "f8efdf4f-9c24-415e-b7e7-1fec23fb1abb", Name: "ChemSoc Registration form International", // 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_41948","targetElementId":"0b92bff0-f487-4d72-a259-720d68482ac9","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_41949","targetElementId":"e0c9cbea-b17e-49e3-8642-44c44d974b15","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_41950","targetElementId":"df3ee559-e343-4919-971e-bb33329cd71b","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_41953","targetElementId":"d42dbdcf-5cfe-43d4-80a7-216cd4361619","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_41954","targetElementId":"3f14fc7f-764a-4e66-92d1-c02d073a9adc","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_41958","targetElementId":"ca1a95db-487e-4ae4-8fdc-8e510c3dc85b","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_41960","targetElementId":"3e68eef2-6026-4be8-8fe4-12f2b48f1e1f","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_41957","targetElementId":"50be4237-6414-46aa-841a-ff0e58269eb6","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_41965","targetElementId":"16a8b0ff-fcd7-4d54-ad5e-d1e2a6b43649","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_41948":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"University","customBinding":false},"__field_41949":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"ChemSoc name","customBinding":false},"__field_41950":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"General ChemSoc email address (where applicable)","customBinding":false},"__field_41951":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"ChemSoc website and other pages e.g. Facebook (where applicable)","customBinding":false},"__field_41962":{"type":"EPiServer.Forms.Implementation.Elements.ParagraphTextElementBlock","friendlyName":"ÐÂÔÂÖ±²¥appÏÂÔØ liaison officer intro","customBinding":false},"__field_41953":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"RSC liason officer name","customBinding":false},"__field_41954":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"RSC liason officer email","customBinding":false},"__field_41955":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"RSC liason officer membership number","customBinding":false},"__field_41963":{"type":"EPiServer.Forms.Implementation.Elements.ParagraphTextElementBlock","friendlyName":"Committee information","customBinding":false},"__field_41958":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Committee start date","customBinding":false},"__field_41960":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Committee end date","customBinding":false},"__field_41959":{"type":"EPiServer.Forms.Implementation.Elements.ParagraphTextElementBlock","friendlyName":"paragraph-text-element-block-1","customBinding":false},"__field_41957":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"Committee positions and names","customBinding":false},"__field_41964":{"type":"EPiServer.Forms.Implementation.Elements.ParagraphTextElementBlock","friendlyName":"privacy","customBinding":false},"__field_41965":{"type":"EPiServer.Forms.Implementation.Elements.ChoiceElementBlock","friendlyName":"privacy policy","customBinding":false},"__field_41961":{"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) })();