/* This view acts as a rendering template to render InitScript(and server-side Form's descriptor) in FormContainerBlock's client-side for Form[d7f3c628-c8de-4435-91b4-894527159b15]. 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["d7f3c628-c8de-4435-91b4-894527159b15"] = { Id: "d7f3c628-c8de-4435-91b4-894527159b15", Name: "New-Contact-Us-Sales-and-Solutions", // 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_17585","targetElementId":"4feaf80b-ffb1-46c6-83c3-4d489ed7d8bc","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":"","aria-required":"true"}}}]},{"targetElementName":"__field_17586","targetElementId":"025f841f-3b75-468a-82f4-2d1417659f98","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":"","aria-required":"true"}}}]},{"targetElementName":"__field_17587","targetElementId":"32f8f7b0-6339-4905-9e5e-a88d2d3b51fe","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":"","aria-required":"true"}}},{"type":"EPiServer.Forms.Implementation.Validation.RegularExpressionValidator","description":null,"model":{"jsPattern":"\\b[\\w\\.-]+@((?!gmail|GMAIL|Gmail|msn|MSN|Msn|icloud|aol|AOL|Aol|abd|uams|test|AB|wcsessa|fghfdyh|HEotmail|avvo|Hahoo|HEaho|geta|qq|HEgmail|work|fhsuvm|HEao|sport|lmail|kmail|abc|accessibilitypro|book|bcc|he|verizon|Verizon|VERIZON|outlook|OUTLOOK|Outlook|yahoo|Yahoo|YAHOO|hotmail|HOTMAIL|Hotmail|domain|rocketmail|Rocketmail|ROCKETMAIL|ya|juno|Hyahoo|orgria|abd|hcahealthcare|bus|yml|word|HEmsn|rocketil|bc|QWER|manen1|txmal|hotil|mysite|aufderhar|gmaT|yao|yo|test|HEyahoo|yah|gil|bbc|BBC|Bbc|yoo|ymail|embrace|gojek|azion|nowtech|HEgail|ewtrt|loongwin|azola|rytha|bbsi|look|glaciercash|company|hand|wifame|asdf|hol|vzw.blackberry|HEahoo|12|edumail|diginey|neonet|mailinator|blankenshipdrygoods|gmxmail|jerry|hot|HEail|bbt|Hmail|HEmail|Hhotmail|adres|il|ymail|lookl|abs|gogmail|cogmail|hldrive|dfgy|info|alo|al|alii|cool|shk|cuvox|cox|Tutoreve|tutoreve|ga|mailor|maior|wok|organization|brown|lamasticots|WDESAW|superrito|gmali|uo|hi|jourrapide|unamattress|nycstudents|admin|teleworm|armyspy|Igihghghh|temporary|outlk|rosalinetaurus|gufum|play|gwork|htoal|nator|spy|mailior|ABC).)[\\w\\.-]+\\.\\w{2,4}\\b","dotNetPattern":"\\b[\\w\\.-]+@((?!gmail|GMAIL|Gmail|msn|MSN|Msn|icloud|aol|AOL|Aol|abd|uams|test|AB|wcsessa|fghfdyh|HEotmail|avvo|Hahoo|HEaho|geta|qq|HEgmail|work|fhsuvm|HEao|sport|lmail|kmail|abc|accessibilitypro|book|bcc|he|verizon|Verizon|VERIZON|outlook|OUTLOOK|Outlook|yahoo|Yahoo|YAHOO|hotmail|HOTMAIL|Hotmail|domain|rocketmail|Rocketmail|ROCKETMAIL|ya|juno|Hyahoo|orgria|abd|hcahealthcare|bus|yml|word|HEmsn|rocketil|bc|QWER|manen1|txmal|hotil|mysite|aufderhar|gmaT|yao|yo|test|HEyahoo|yah|gil|bbc|BBC|Bbc|yoo|ymail|embrace|gojek|azion|nowtech|HEgail|ewtrt|loongwin|azola|rytha|bbsi|look|glaciercash|company|hand|wifame|asdf|hol|vzw.blackberry|HEahoo|12|edumail|diginey|neonet|mailinator|blankenshipdrygoods|gmxmail|jerry|hot|HEail|bbt|Hmail|HEmail|Hhotmail|adres|il|ymail|lookl|abs|gogmail|cogmail|hldrive|dfgy|info|alo|al|alii|cool|shk|cuvox|cox|Tutoreve|tutoreve|ga|mailor|maior|wok|organization|brown|lamasticots|WDESAW|superrito|gmali|uo|hi|jourrapide|unamattress|nycstudents|admin|teleworm|armyspy|Igihghghh|temporary|outlk|rosalinetaurus|gufum|play|gwork|htoal|nator|spy|mailior|ABC).)[\\w\\.-]+\\.\\w{2,4}\\b","message":"Please use corporate email.","validationCssClass":null,"additionalAttributes":null}},{"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_17589","targetElementId":"f801bc02-9fd2-4ba3-bc50-d2079d7faba0","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":"","aria-required":"true"}}}]},{"targetElementName":"__field_17590","targetElementId":"7e1fb480-3dc8-4dc6-9d79-50006569e584","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":"","aria-required":"true"}}}]},{"targetElementName":"__field_17591","targetElementId":"120f995b-33bf-4253-89b4-93bce15b98ae","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"Please input valid inquiry","validationCssClass":"ValidationRequired","additionalAttributes":{"required":"","aria-required":"true"}}}]},{"targetElementName":"__field_17592","targetElementId":"63f618e5-6aa1-47b3-882a-713b01ccbeaa","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":"","aria-required":"true"}}}]}], // 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_17585":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"First name","customBinding":false},"__field_17586":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Last name","customBinding":false},"__field_17587":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Organization Email","customBinding":false},"__field_17588":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Phone Number","customBinding":false},"__field_17589":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Organization","customBinding":false},"__field_17590":{"type":"EPiServer.Forms.Implementation.Elements.SelectionElementBlock","friendlyName":"Country","customBinding":false},"__field_17591":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"Comments","customBinding":false},"__field_17592":{"type":"EPiServer.Forms.Implementation.Elements.ChoiceElementBlock","friendlyName":"Privacy Policy Check box","customBinding":false},"__field_18267":{"type":"EPiServer.Forms.Implementation.Elements.ChoiceElementBlock","friendlyName":"Agree to receive communication","customBinding":false},"__field_17593":{"type":"EPiServer.Forms.Implementation.Elements.SubmitButtonElementBlock","friendlyName":"Submit button","customBinding":false},"__field_17594":{"type":"Unisys.Com.Cms.Forms.HoneyPotElementBlock","friendlyName":"HoneyPotElementBlock","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) })();