/* This view acts as a rendering template to render InitScript(and server-side Form's descriptor) in FormContainerBlock's client-side for Form[42804da2-9283-4bb4-94b7-ea95f6b2602c]. 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["42804da2-9283-4bb4-94b7-ea95f6b2602c"] = { Id: "42804da2-9283-4bb4-94b7-ea95f6b2602c", Name: "Formulär - Lämna inköpsförslag", // 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_211463","targetElementId":"9bcebbb4-7bc5-4a3f-9956-8affdfb11fb1","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"Fältet är obligatoriskt.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_211466","targetElementId":"941bc4d6-3d06-4034-854b-974cf56fed06","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"Fältet är obligatoriskt.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_211467","targetElementId":"4292943a-803f-4866-a235-841e4c768206","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"Fältet är obligatoriskt.","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":"Ange en giltig e-postadress.","validationCssClass":null,"additionalAttributes":null}}]},{"targetElementName":"__field_211469","targetElementId":"739ece90-d7f0-4a8f-b704-44a07a08b37a","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"Fältet är obligatoriskt.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_211470","targetElementId":"f49c1c2e-c64d-4a3b-aa56-cbb1cd279b73","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"Fältet är obligatoriskt.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_211476","targetElementId":"7888022d-73e7-4be5-a201-d61d5832cc05","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"Fältet är obligatoriskt.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_211498","targetElementId":"a6bf07d4-f23d-4d68-b690-f5b40aaf3e35","validators":[{"type":"EPiServer.Forms.Implementation.Validation.CaptchaValidator","description":null,"model":{"message":"Ange tecknen du ser i bilden.","validationCssClass":null,"additionalAttributes":null}}]}], // Steps information for driving multiple-step Forms. StepsInfo : { Steps: [{"index":0,"attachedUrl":"","dependField":null,"dependCondition":null,"isActive":true,"attachedContentLink":"","dependValue":"","elementName":"__field_","guid":"00000000-0000-0000-0000-000000000000"}] }, FieldsExcludedInSubmissionSummary: [], ElementsInfo: {"__field_211463":{"type":"EPiServer.Forms.Implementation.Elements.SelectionElementBlock","friendlyName":"Student/medarbetare","customBinding":false},"__field_211466":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Namn","customBinding":false},"__field_211467":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"E-postadress","customBinding":false},"__field_211469":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Titel","customBinding":false},"__field_211470":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Författare","customBinding":false},"__field_211472":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Utgivningsår","customBinding":false},"__field_211474":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"ISBN","customBinding":false},"__field_211476":{"type":"EPiServer.Forms.Implementation.Elements.ChoiceElementBlock","friendlyName":"Reservera","customBinding":false},"__field_211479":{"type":"EPiServer.Forms.Implementation.Elements.ChoiceElementBlock","friendlyName":"Fjärrlån","customBinding":false},"__field_211482":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Meddelande","customBinding":false},"__field_211499":{"type":"EPiServer.Forms.Implementation.Elements.SubmitButtonElementBlock","friendlyName":"Skicka-knapp","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 = true; // 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) })();