/* This view acts as a rendering template to render InitScript(and server-side Form's descriptor) in FormContainerBlock's client-side for Form[07bfd93e-a11b-48c1-b47a-593027d7e50b]. 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["07bfd93e-a11b-48c1-b47a-593027d7e50b"] = { Id: "07bfd93e-a11b-48c1-b47a-593027d7e50b", Name: "Themed collection proposal form", // 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_140581","targetElementId":"2e8e6c82-b025-4226-80d9-d927418157a1","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_140582","targetElementId":"4a0cf5ee-1a9e-43c9-bbce-97cd0105121f","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_140584","targetElementId":"0e24aaf1-49c9-46a6-acc5-806fb6b67025","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_140585","targetElementId":"2df78f3e-e011-48fd-a3da-35a4029f6a4e","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_140587","targetElementId":"c979eca0-6134-41a7-ad51-167c1576eb4b","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_140588","targetElementId":"898e7f6b-4187-4e06-b847-a18fa6d99851","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_140589","targetElementId":"3a7164e5-5d4b-4f71-b10d-6b34be7fa41c","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_140592","targetElementId":"724deb99-78c7-43d0-87a2-a1c6ce85f33a","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":null,"elementName":"__field_140580","guid":"1a4f01f0-82c0-4ad9-a80a-6bf3858c100d"},{"index":1,"attachedUrl":"","dependField":null,"dependCondition":null,"isActive":true,"attachedContentLink":"","dependValue":null,"elementName":"__field_140583","guid":"b635d3fb-601d-493f-96ea-cfe655349000"}] }, FieldsExcludedInSubmissionSummary: [], ElementsInfo: {"__field_140581":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Name","customBinding":false},"__field_140582":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Email address","customBinding":false},"__field_140584":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Title of proposed collection","customBinding":false},"__field_140585":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Guest editor(s):","customBinding":false},"__field_140587":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"Brief summary:","customBinding":false},"__field_140588":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"Upcoming conferences in this area:","customBinding":false},"__field_140589":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"Names of potential invitees","customBinding":false},"__field_140590":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"Any other supporting information:","customBinding":false},"__field_140591":{"type":"EPiServer.Forms.Implementation.Elements.ParagraphTextElementBlock","friendlyName":"Terms","customBinding":false},"__field_140592":{"type":"EPiServer.Forms.Implementation.Elements.ChoiceElementBlock","friendlyName":"Agree to terms and privacy","customBinding":false},"__field_140593":{"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 = false; // 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) })();