/* This view acts as a rendering template to render InitScript(and server-side Form's descriptor) in FormContainerBlock's client-side for Form[5c608e5c-9696-48f3-a39f-6fd539523f1f]. 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["5c608e5c-9696-48f3-a39f-6fd539523f1f"] = { Id: "5c608e5c-9696-48f3-a39f-6fd539523f1f", 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_142959","targetElementId":"06e1aaf8-b34c-4fb8-a0c0-7876434c7d6a","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_142960","targetElementId":"045770ea-741a-4538-b0fb-9f65afd1b289","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_142962","targetElementId":"8272cfe7-dfa0-4d16-bcd7-b07218478882","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_142963","targetElementId":"a923a3fa-0887-43da-812a-20eb3e8ba75a","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_142964","targetElementId":"19fefd1f-4669-4f6a-98cf-df00f399dbd3","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_142965","targetElementId":"07b47b64-d3a6-4c72-95b2-2cdbc0529975","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_142966","targetElementId":"f00fc1c8-8390-4928-abc6-1927046e29bb","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_142967","targetElementId":"a59ccd83-7855-4b13-a658-cb1e17b7cb72","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_142969","targetElementId":"f18ef1d8-edce-4f4c-9866-e3ba6787af24","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_142958","guid":"bfcf5b7c-a63f-4bc6-996e-730f755d7dc2"},{"index":1,"attachedUrl":"","dependField":null,"dependCondition":null,"isActive":true,"attachedContentLink":"","dependValue":null,"elementName":"__field_142961","guid":"15727ff5-9b75-4f9f-9d27-b1158ebe68d5"}] }, FieldsExcludedInSubmissionSummary: [], ElementsInfo: {"__field_142959":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Name","customBinding":false},"__field_142960":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Email address","customBinding":false},"__field_142962":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Title of proposed collection","customBinding":false},"__field_142963":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Guest editor(s)","customBinding":false},"__field_142964":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"Brief summary","customBinding":false},"__field_142965":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"Upcoming conferences in this area","customBinding":false},"__field_142966":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"Names of potential invitees","customBinding":false},"__field_142967":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"Any other supporting information","customBinding":false},"__field_142968":{"type":"EPiServer.Forms.Implementation.Elements.ParagraphTextElementBlock","friendlyName":"Terms and conditions","customBinding":false},"__field_142969":{"type":"EPiServer.Forms.Implementation.Elements.ChoiceElementBlock","friendlyName":"Agree to terms and privacy","customBinding":false},"__field_142970":{"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) })();