formClock客户端Form[64fbb4-3e8d-423a-9fa6-63a28d9aTECHNOTE:EPiServerForms所有服务器端(路径、动态值)均转至本节客户端*/ (function initializeOnRenderingFormDescriptor() { // each workingFormInfo is store inside epi.EPiServer.Forms, lookup by its FormGuid var workingFormInfo = epi.EPiServer.Forms["64fbc1b4-3e8d-423a-9fa6-63a28d1b9a01"] = { Id: "64fbc1b4-3e8d-423a-9fa6-63a28d1b9a01", Name: "Page Poll", // 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 : [{"fieldName":"__field_198009","action":{"displayName":"Shown","name":"EPiServer.Forms.Core.Internal.Dependency.ShowAction","order":1,"clientsideAction":"show"},"conditionCombination":"Any","conditions":[{"fieldName":"__field_4573","operator":"Equals","fieldValue":"Yes"},{"fieldName":"__field_4573","operator":"Equals","fieldValue":"No"}]}], // keep all fieldName which are not satisfied the field dependency conditions DependencyInactiveElements: [], // Validation info, for executing validating on client side ValidationInfo : [{"targetElementName":"__field_4573","targetElementId":"b65c51e6-ac39-408f-99f9-57033c147fa3","validators":[{"type":"EPiServer.Forms.Implementation.Validation.RequiredValidator","description":null,"model":{"message":"This field is required.","validationCssClass":"ValidationRequired","additionalAttributes":{"required":""}}}]},{"targetElementName":"__field_11371","targetElementId":"dc047b73-1c81-48a9-92a1-e876ff5e1446","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":"","elementName":"__field_","guid":"00000000-0000-0000-0000-000000000000"}] }, FieldsExcludedInSubmissionSummary: [], ElementsInfo: {"__field_4573":{"type":"EPiServer.Forms.Implementation.Elements.ChoiceElementBlock","friendlyName":"Page Poll - Multiple or Single Choice","customBinding":false},"__field_11371":{"type":"EPiServer.Forms.Implementation.Elements.TextareaElementBlock","friendlyName":"Text area","customBinding":false},"__field_4574":{"type":"EPiServer.Forms.Implementation.Elements.SubmitButtonElementBlock","friendlyName":"Submit button","customBinding":false},"__field_198009":{"type":"EPiServer.Forms.Implementation.Elements.ParagraphTextElementBlock","friendlyName":"reCAPTCHA message - Rich text block","customBinding":false}}, DataSubmitController: "/EPiServer.Forms/DataSubmit" }!//TECHNOTE:FormInfo计算,这些值将作为静态输入供后处理workingFormInfo.StepsInfo.FormHasNoStep_VirtualStepCreated = true!/FLAG为真,如果编辑器不放表单Step引擎将创建虚拟步骤, 空GUIDworkFormInfo.StepsInfo.FormHas nothing=伪/FLAG属实,如果FormInfo.StepsInfo完全没有元素/FLAG将属实,如果所有步骤都包含Linke
Baidu
map