/* This view acts as a rendering template to render InitScript(and server-side Form's descriptor) in FormContainerBlock's client-side for Form[53ff9156-5823-456f-ad7f-986ee8899103]. 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["53ff9156-5823-456f-ad7f-986ee8899103"] = { Id: "53ff9156-5823-456f-ad7f-986ee8899103", Name: "Proposal for Themed Collection", // 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_159275","targetElementId":"8610291b-18a7-4511-bc0c-a8145c856eac","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_159276","targetElementId":"b18af3cb-4796-4de6-af55-9e278cdc857a","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_159278","targetElementId":"59d1cc1f-75a1-4b9f-b162-56c6df3e585c","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_159279","targetElementId":"a8a331df-ba99-42ba-bc17-c8acd2cc5989","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_159280","targetElementId":"da747803-eebf-4a6c-b932-2efbf6ed2efe","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_159281","targetElementId":"fbafc0f3-ac78-4284-ad5b-4568445c9f4a","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_159282","targetElementId":"5a3e5a9e-1552-4599-81c9-f59d790eb87e","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_159283","targetElementId":"71685419-85e5-4520-af48-4a72967238bd","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_159285","targetElementId":"fa1ae385-0311-470e-8933-3d67289f6f66","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_159274","guid":"19974253-4169-42e9-8dbe-8e12f6621b5f"},{"index":1,"attachedUrl":"","dependField":null,"dependCondition":null,"isActive":true,"attachedContentLink":"","dependValue":null,"elementName":"__field_159277","guid":"9f6752ff-82a2-4654-a6f4-710fb453b81a"}] }, FieldsExcludedInSubmissionSummary: [], ElementsInfo: {"__field_159275":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"textbox-element-block-1","customBinding":false},"__field_159276":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"textbox-element-block-2","customBinding":false},"__field_159278":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"textbox-element-block-3","customBinding":false},"__field_159279":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"textbox-element-block-4","customBinding":false},"__field_159280":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"textarea-element-block-1","customBinding":false},"__field_159281":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"textarea-element-block-2","customBinding":false},"__field_159282":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"textarea-element-block-3","customBinding":false},"__field_159283":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"textarea-element-block-4","customBinding":false},"__field_159284":{"type":"EPiServer.Forms.Implementation.Elements.ParagraphTextElementBlock","friendlyName":"paragraph-text-element-block-1","customBinding":false},"__field_159285":{"type":"EPiServer.Forms.Implementation.Elements.ChoiceElementBlock","friendlyName":"choice-element-block-1","customBinding":false},"__field_159286":{"type":"EPiServer.Forms.Implementation.Elements.SubmitButtonElementBlock","friendlyName":"submit-button-element-block-1","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) })();