/* This view acts as a rendering template to render InitScript(and server-side Form's descriptor) in FormContainerBlock's client-side for Form[9882e737-1cec-4955-b0c1-8e65700dea8e]. 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["9882e737-1cec-4955-b0c1-8e65700dea8e"] = { Id: "9882e737-1cec-4955-b0c1-8e65700dea8e", 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_140549","targetElementId":"c4f0ebe5-bdde-4700-bfb3-8d64359b4744","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_140550","targetElementId":"00928f0a-0d21-456e-8bb4-b4013f875e8c","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_140552","targetElementId":"4d216be9-e9cb-434d-944a-4397382e48ad","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_140556","targetElementId":"0c0d9ebc-0e9f-4554-ab33-efaa76a5a7f9","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_140557","targetElementId":"a5650012-4174-4b39-b075-73377fd287f0","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_140558","targetElementId":"8180725c-e0ad-446d-bfc5-c7f02dffc3b2","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_140559","targetElementId":"78ba31aa-c5cd-4bbe-898e-b11ba83d0ca0","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_140561","targetElementId":"13560496-7c46-4892-9524-e98d7ff7fe81","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_140548","guid":"f76ea3e6-84d7-45f5-9d22-77c9e3f9845e"},{"index":1,"attachedUrl":"","dependField":null,"dependCondition":null,"isActive":true,"attachedContentLink":"","dependValue":null,"elementName":"__field_140551","guid":"ea10b388-ca87-44de-9263-de353ff89e64"}] }, FieldsExcludedInSubmissionSummary: [], ElementsInfo: {"__field_140549":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Name","customBinding":false},"__field_140550":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Email address","customBinding":false},"__field_140552":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Title of proposed collection:","customBinding":false},"__field_140554":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Guest editor(s):","customBinding":false},"__field_140556":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"Brief summary","customBinding":false},"__field_140557":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"Upcoming conferences in this area:","customBinding":false},"__field_140558":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"Names of potential invitees","customBinding":false},"__field_140559":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"Any other supporting information:","customBinding":false},"__field_140560":{"type":"EPiServer.Forms.Implementation.Elements.ParagraphTextElementBlock","friendlyName":"Terms","customBinding":false},"__field_140561":{"type":"EPiServer.Forms.Implementation.Elements.ChoiceElementBlock","friendlyName":"Agree to terms","customBinding":false},"__field_140562":{"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) })();