/* This view acts as a rendering template to render InitScript(and server-side Form's descriptor) in FormContainerBlock's client-side for Form[d50b7f8a-9cb1-40f7-a0f8-9c2d660e0dcc].
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["d50b7f8a-9cb1-40f7-a0f8-9c2d660e0dcc"] = {
Id: "d50b7f8a-9cb1-40f7-a0f8-9c2d660e0dcc",
Name: "Proposal for themed collection-form",
// 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_130313","targetElementId":"ca09ff06-d27d-4e3f-a078-7f6d6ea4189f","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_130315","targetElementId":"0a0ec86d-b48d-464c-b149-5f995362c95f","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_130317","targetElementId":"4b349e33-a6d1-4d56-bee2-1689c45f09b9","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_130318","targetElementId":"4c97a7a4-237a-4f47-b651-6788e76cc979","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_130319","targetElementId":"5478cac9-aa84-41cf-b974-311a2b45bedb","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_130320","targetElementId":"fc3c73ba-47af-4ab0-a605-d6cecbad20fd","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_130321","targetElementId":"5f1914ac-7de7-4364-884a-9d3991279e75","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_130322","targetElementId":"17ea01a7-b2fe-489e-9ee6-049ffb37b60c","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_130324","targetElementId":"0e4fc102-5cf1-45ee-8519-776ea2312c94","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_130312","guid":"d713cdfe-0dd0-414a-8045-86ce8ceefee0"},{"index":1,"attachedUrl":"","dependField":null,"dependCondition":null,"isActive":true,"attachedContentLink":"","dependValue":null,"elementName":"__field_130316","guid":"67b314bb-e276-4233-9463-864f73b66503"}]
},
FieldsExcludedInSubmissionSummary: [],
ElementsInfo: {"__field_130313":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Name","customBinding":false},"__field_130315":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Email address","customBinding":false},"__field_130317":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Title of proposed collection","customBinding":false},"__field_130318":{"type":"EPiServer.Forms.Implementation.Elements.TextboxElementBlock","friendlyName":"Guest editors","customBinding":false},"__field_130319":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"Brief summary","customBinding":false},"__field_130320":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"Upcoming conferences in this area","customBinding":false},"__field_130321":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"Name of potential invitees","customBinding":false},"__field_130322":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"Any other supporting information","customBinding":false},"__field_130323":{"type":"EPiServer.Forms.Implementation.Elements.ParagraphTextElementBlock","friendlyName":"Terms and conditions","customBinding":false},"__field_130324":{"type":"EPiServer.Forms.Implementation.Elements.ChoiceElementBlock","friendlyName":"I agree","customBinding":false},"__field_130325":{"type":"EPiServer.Forms.Implementation.Elements.SubmitButtonElementBlock","friendlyName":"Submit button","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)
})();