/* This view acts as a rendering template to render InitScript(and server-side Form's descriptor) in FormContainerBlock's client-side for Form[a81dd26f-ad9b-4654-a29f-39b40b0f3bdf]. 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["a81dd26f-ad9b-4654-a29f-39b40b0f3bdf"] = { Id: "a81dd26f-ad9b-4654-a29f-39b40b0f3bdf", 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_143371","targetElementId":"b6019aaf-2140-4b00-984e-569b57735996","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_143372","targetElementId":"64ebe919-df19-4f39-996c-d183e8054ad7","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":"Please enter a valid email address.","validationCssClass":null,"additionalAttributes":null}}]},{"targetElementName":"__field_143374","targetElementId":"811f4a84-46eb-4d4c-8b7e-284ef8cdbeaa","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_143478","targetElementId":"c4fdfcdb-6395-4d02-a77a-b1f266397b8e","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_143376","targetElementId":"8efad638-fb9e-45fe-9763-4296cd68b889","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_143377","targetElementId":"1709d792-4c1e-4d67-af3b-b539937cb02d","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_143378","targetElementId":"6b787167-38f6-4ec0-afea-bbe5b78a4689","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_143379","targetElementId":"224f6aed-8bd2-4750-9b4e-0bfc27505afe","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_143381","targetElementId":"acb2ace7-ec0e-4e29-8438-3d4d2b67ad2c","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_143370","guid":"508df97c-1490-474a-8a25-44668c817e48"},{"index":1,"attachedUrl":"","dependField":null,"dependCondition":null,"isActive":true,"attachedContentLink":"","dependValue":null,"elementName":"__field_143373","guid":"8265a25f-a143-42f4-8849-8aec78a5a1ac"}] }, FieldsExcludedInSubmissionSummary: [], ElementsInfo: {"__field_143371":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Name","customBinding":false},"__field_143372":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Email address","customBinding":false},"__field_143374":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Title of proposed collection","customBinding":false},"__field_143478":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"Guest editor(s)","customBinding":false},"__field_143376":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"Brief summary","customBinding":false},"__field_143377":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"Upcoming conferences in this area","customBinding":false},"__field_143378":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"Names of potential invitees","customBinding":false},"__field_143379":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"Any other supporting information","customBinding":false},"__field_143380":{"type":"EPiServer.Forms.Implementation.Elements.ParagraphTextElementBlock","friendlyName":"paragraph-text-element-block-1","customBinding":false},"__field_143381":{"type":"EPiServer.Forms.Implementation.Elements.ChoiceElementBlock","friendlyName":"Agree to terms and privacy","customBinding":false},"__field_143382":{"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) })();