/* This view acts as a rendering template to render InitScript(and server-side Form's descriptor) in FormContainerBlock's client-side for Form[ae330363-c965-4468-9060-944a219a997d]. 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["ae330363-c965-4468-9060-944a219a997d"] = { Id: "ae330363-c965-4468-9060-944a219a997d", Name: "LICENSING AND LOCATION AGREEMENT INQUIRIES", // 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 : "Thank you for reaching out. A representative from our Public Relations team will be in touch with you shortly.", ShowNavigationBar : true, ShowSummarizedData : true, // serialize the dependency configuration of this form to clientside DependenciesInfo : [], // keep all fieldName which are not satisfied the dependency conditions DependencyInactiveElements: [], // Validation info, for executing validating on client side ValidationInfo : [{"targetElementName":"__field_89007","targetElementId":"5b035c41-3112-4f06-9f66-12b93f4a8c36","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_89008","targetElementId":"1b008304-3e6a-4670-951f-96146f10dd2f","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_89009","targetElementId":"41a6ab06-8cb7-43b8-8427-c7f6057c627e","validators":[{"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_89010","targetElementId":"7cbf3ed1-7a40-48d5-a19a-a6748597583e","validators":[{"type":"EPiServer.Forms.Implementation.Validation.NumericValidator","description":null,"model":{"message":"Enter a valid number.","validationCssClass":null,"additionalAttributes":null}}]},{"targetElementName":"__field_89017","targetElementId":"ed34896a-a0ca-4c83-adbf-9e2b36cb1fb0","validators":[{"type":"EPiServer.Forms.Implementation.Validation.DateDDMMYYYYValidator","description":null,"model":{"jsPattern":"^(((0[1-9]|[12]\\d|3[01])\\/(0[13578]|1[02])\\/((19|[2-9]\\d)\\d{2}))|((0[1-9]|[12]\\d|30)\\/(0[13456789]|1[012])\\/((19|[2-9]\\d)\\d{2}))|((0[1-9]|1\\d|2[0-8])\\/02\\/((19|[2-9]\\d)\\d{2}))|(29\\/02\\/(19|[2-9]\\d)([02468][048]|[13579][26])))$","dotNetPattern":"^(((0[1-9]|[12]\\d|3[01])\\/(0[13578]|1[02])\\/((19|[2-9]\\d)\\d{2}))|((0[1-9]|[12]\\d|30)\\/(0[13456789]|1[012])\\/((19|[2-9]\\d)\\d{2}))|((0[1-9]|1\\d|2[0-8])\\/02\\/((19|[2-9]\\d)\\d{2}))|(29\\/02\\/(19|[2-9]\\d)([02468][048]|[13579][26])))$","message":"Enter a date in the DD/MM/YYYY format.","validationCssClass":null,"additionalAttributes":null}}]},{"targetElementName":"__field_89018","targetElementId":"40dbcffd-e319-4840-8720-e76914253077","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_89020","targetElementId":"8d887f19-f686-4b00-8b44-6de94fbf9512","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_89021","targetElementId":"3467765f-ad79-40f3-8543-e2771deb9707","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_89023","targetElementId":"6b932851-ec5f-4f6d-ba0c-db9450d64f27","validators":[{"type":"EPiServer.Forms.Implementation.Validation.DateDDMMYYYYValidator","description":null,"model":{"jsPattern":"^(((0[1-9]|[12]\\d|3[01])\\/(0[13578]|1[02])\\/((19|[2-9]\\d)\\d{2}))|((0[1-9]|[12]\\d|30)\\/(0[13456789]|1[012])\\/((19|[2-9]\\d)\\d{2}))|((0[1-9]|1\\d|2[0-8])\\/02\\/((19|[2-9]\\d)\\d{2}))|(29\\/02\\/(19|[2-9]\\d)([02468][048]|[13579][26])))$","dotNetPattern":"^(((0[1-9]|[12]\\d|3[01])\\/(0[13578]|1[02])\\/((19|[2-9]\\d)\\d{2}))|((0[1-9]|[12]\\d|30)\\/(0[13456789]|1[012])\\/((19|[2-9]\\d)\\d{2}))|((0[1-9]|1\\d|2[0-8])\\/02\\/((19|[2-9]\\d)\\d{2}))|(29\\/02\\/(19|[2-9]\\d)([02468][048]|[13579][26])))$","message":"Enter a date in the DD/MM/YYYY format.","validationCssClass":null,"additionalAttributes":null}}]},{"targetElementName":"__field_89025","targetElementId":"59e11614-e6d5-4c0f-9b8e-59e5f5274b9c","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,"attachedContentLink":"","dependValue":"","elementName":"__field_","guid":"00000000-0000-0000-0000-000000000000"}] }, FieldsExcludedInSubmissionSummary: [], ElementsInfo: {"__field_89007":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Name of Applicant","customBinding":false},"__field_89008":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Company/Affiliation","customBinding":false},"__field_89009":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Email","customBinding":false},"__field_89010":{"type":"EPiServer.Forms.Implementation.Elements.NumberElementBlock","friendlyName":"Phone","customBinding":false},"__field_89012":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"City","customBinding":false},"__field_89013":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"State","customBinding":false},"__field_89014":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Country","customBinding":false},"__field_89017":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Requested date of filming","customBinding":false},"__field_89018":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"Description of Project","customBinding":false},"__field_89019":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"Description of Crew and Equipment","customBinding":false},"__field_89020":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"Distribution Plans","customBinding":false},"__field_89021":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Estimated Viewership","customBinding":false},"__field_89022":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Estimated Time Needed to Film at the Kennedy Center","customBinding":false},"__field_89023":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Estimated Release Date","customBinding":false},"__field_89025":{"type":"EPiServer.Forms.Implementation.Elements.SelectionElementBlock","friendlyName":"Total Project Budget","customBinding":false},"__field_89026":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"Additional Information for Consideration","customBinding":false},"__field_89164":{"type":"EPiServer.Forms.Implementation.Elements.SubmitButtonElementBlock","friendlyName":"New form element","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) })();