PageSourceSearch

https://www.leveraged.com.au/EPiServer.Forms/DataSubmit/GetFormIni…30bf-4929-9b34-30dfe1b367f6&formLanguage=en

js leveraged.com.au collected 2026-09-26 18:18:54 UTC 8,526 bytes, 38 lines download raw bytes

1
2
3/* This view acts as a rendering template to render InitScript(and server-side Form's descriptor) in FormContainerBlock's client-side for Form[aa9600f3-30bf-4929-9b34-30dfe1b367f6].
4TECHNOTE: all serverside (paths, dynamic values) of EPiServerForms will be transfered to client side here in this section. */
5(function initializeOnRenderingFormDescriptor() {
6    // each workingFormInfo is store inside epi.EPiServer.Forms, lookup by its FormGuid
7    var workingFormInfo = epi.EPiServer.Forms["aa9600f3-30bf-4929-9b34-30dfe1b367f6"] = {
8        Id: "aa9600f3-30bf-4929-9b34-30dfe1b367f6",
9        Name: "FORM - Contact Us",
10        // whether this Form can be submitted which relates to the visitor's data (cookie, identity) and Form's settings (AllowAnonymous, AllowXXX)
11
12        SubmittableStatus : {"submittable":true,"message":""},        
13        ConfirmMessage : "",
14        ShowNavigationBar : true,
15        ShowSummarizedData : false,
16        
17        // serialize the dependency configuration of this form to clientside
18        DependenciesInfo : [{"fieldName":"__field_113407","action":{"displayName":"Shown","name":"EPiServer.Forms.Core.Internal.Dependency.ShowAction","order":1,"clientsideAction":"show"},"conditionCombination":"All","conditions":[{"fieldName":"__field_113406","operator":"Equals","fieldValue":"Phone"}]},{"fieldName":"__field_113408","action":{"displayName":"Shown","name":"EPiServer.Forms.Core.Internal.Dependency.ShowAction","order":1,"clientsideAction":"show"},"conditionCombination":"All","conditions":[{"fieldName":"__field_113406","operator":"Equals","fieldValue":"Phone"}]},{"fieldName":"__field_113409","action":{"displayName":"Shown","name":"EPiServer.Forms.Core.Internal.Dependency.ShowAction","order":1,"clientsideAction":"show"},"conditionCombination":"All","conditions":[{"fieldName":"__field_113406","operator":"Equals","fieldValue":"Email"}]}],
19        // keep all fieldName which are not satisfied the field dependency conditions
20        DependencyInactiveElements: [],
21
22        // Validation info, for executing validating on client side
23        ValidationInfo : [{"targetElementName":"__field_113402","targetElementId":"a8f20542-0ad0-4bbc-8afb-cf328abb224f","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"Please enter your first name.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":"","aria-required":"true"}}},{"type":"Bendigo.Core.Forms.Validators.PlainTextRegexValidator","description":null,"model":{"jsPattern":"^[a-zA-Z-'\\s]*$","dotNetPattern":"^[a-zA-Z-'\\s]*$","message":"Please enter a valid name.","validationCssClass":null,"additionalAttributes":null}}]},{"targetElementName":"__field_113403","targetElementId":"8a4ca037-cbcb-47f9-8b4e-dc3504cda56f","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"Please enter your last name.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":"","aria-required":"true"}}},{"type":"Bendigo.Core.Forms.Validators.PlainTextRegexValidator","description":null,"model":{"jsPattern":"^[a-zA-Z-'\\s]*$","dotNetPattern":"^[a-zA-Z-'\\s]*$","message":"Please enter a valid name.","validationCssClass":null,"additionalAttributes":null}}]},{"targetElementName":"__field_113404","targetElementId":"e84076ee-4a4a-46bd-96b8-26c2eaf91c4f","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":"","aria-required":"true"}}},{"type":"Bendigo.Core.Forms.Validators.PostcodeRegexValidator","description":null,"model":{"jsPattern":"^(?!0000)[\\d]{4}$","dotNetPattern":"^(?!0000)[\\d]{4}$","message":"Please enter a valid postcode.","validationCssClass":null,"additionalAttributes":null}}]},{"targetElementName":"__field_113406","targetElementId":"2aae5728-a164-4f24-98cc-878890a9e30c","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":"","aria-required":"true"}}}]},{"targetElementName":"__field_113407","targetElementId":"5dd53635-28a6-4471-806c-46bf04f9cb47","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"Please enter a valid phone number.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":"","aria-required":"true"}}},{"type":"Bendigo.Core.Forms.Validators.PhoneNumberRegexValidator","description":null,"model":{"jsPattern":"^[\\d]{10}$","dotNetPattern":"^[\\d]{10}$","message":"Please enter a valid phone number.","validationCssClass":null,"additionalAttributes":null}}]},{"targetElementName":"__field_113409","targetElementId":"e9422ebb-ac37-4486-87eb-ceabe9fcfe57","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"Please enter a valid email address.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":"","aria-required":"true"}}},{"type":"Bendigo.Core.Forms.Validators.EmailRegexValidator","description":null,"model":{"jsPattern":"^[a-zA-Z0-9!#$%&’*+=\\/?^_`{|}~-]+(?:\\.[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-]+(?:\\.[a-zA-Z0-9-]+)*$","message":"Please enter a valid email address.","validationCssClass":null,"additionalAttributes":null}}]},{"targetElementName":"__field_158060","targetElementId":"d0bf061d-4896-4670-bca3-6e3a254471e7","validators":[{"type":"Bendigo.Core.Forms.Validators.Recaptcha3Validator","description":null,"model":{"message":"reCAPTCHA validation failed.","validationCssClass":null,"additionalAttributes":null}}]}],
24        // Steps information for driving multiple-step Forms.
25        StepsInfo : {
26            Steps: [{"index":0,"attachedUrl":"","dependField":null,"dependCondition":null,"isActive":true,"attachedContentLink":"","dependValue":"","elementName":"__field_","guid":"00000000-0000-0000-0000-000000000000"}]
27        },
28        FieldsExcludedInSubmissionSummary: [],
29        ElementsInfo: {"__field_113402":{"type":"Bendigo.Core.Forms.ElementBlocks.FirstNameElementBlock","friendlyName":"First Name","customBinding":false},"__field_113403":{"type":"Bendigo.Core.Forms.ElementBlocks.LastNameElementBlock","friendlyName":"Last Name","customBinding":false},"__field_113404":{"type":"Bendigo.Core.Forms.ElementBlocks.PostCodeElementBlock","friendlyName":"Post Code","customBinding":false},"__field_113406":{"type":"EPiServer.Forms.Implementation.Elements.ChoiceElementBlock","friendlyName":"Preferred contact method","customBinding":false},"__field_113407":{"type":"Bendigo.Core.Forms.ElementBlocks.PhoneNumberElementBlock","friendlyName":"Phone Number","customBinding":false},"__field_113408":{"type":"Bendigo.Core.Forms.ElementBlocks.PreferredContactTimeElementBlock","friendlyName":"Preferred Contact Time","customBinding":false},"__field_113409":{"type":"Bendigo.Core.Forms.ElementBlocks.EmailAddressElementBlock","friendlyName":"Email Address","customBinding":false},"__field_113410":{"type":"Bendigo.Core.Forms.ElementBlocks.EnquiryElementBlock","friendlyName":"What can we help you with","customBinding":false},"__field_113411":{"type":"EPiServer.Forms.Implementation.Elements.ParagraphTextElementBlock","friendlyName":"Rich text (with placeholders)","customBinding":false},"__field_113413":{"type":"EPiServer.Forms.Implementation.Elements.SubmitButtonElementBlock","friendlyName":"Submit button","customBinding":false}},
30        DataSubmitController: "/EPiServer.Forms/DataSubmit"
31        
32    };
33    
34    /// TECHNOTE: Calculation at FormInfo level, and these values will be static input for later processing.
35    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
36    workingFormInfo.StepsInfo.FormHasNothing = false;  // this FLAG will be true if FormContainer has no element at all
37    workingFormInfo.StepsInfo.AllStepsAreNotLinked = true;  // this FLAG will be true, if all steps all have contentLink=="" (emptyString)
38})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.