营销人员的Web表单可动态形成条件可见性字段 [英] Webforms for marketers form fields conditional visibility dynamically

查看:96
本文介绍了营销人员的Web表单可动态形成条件可见性字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在使用WFFM创建登陆页面.对于我们的营销人员来说,使用它非常容易.现在,我们正在考虑自定义它们.例如,我们有以下要求.

We are using WFFM for our landing pages creation. It is very easy for our marketing guys to use that. Now, we are looking at customizing them. For instance, we have the following requirement.

在表单上,​​我们显示居住国,但是当您选择某些国家/地区时,我们想显示一个名为state/province的下拉菜单,其中包含州名.当用户选择其他国家/地区时,我们必须隐藏state/provice字段.我正在head头,该如何开始实施呢?

On our form, we display country of residence, but when you select some countries, we want to display one more dropdown called state/province with the states. When user selects other countries, we have to hide the state/provice field. I am banging my head, how can I start implementing this.

任何人都可以指导我,如何进行?

Can anyone of you guide me, how to proceed?

推荐答案

尝试以下操作:

  1. 在Sitecore中的表单上创建一个DropList字段
  2. 添加一个名称类似于"NA"的选项(表示不适用")
  3. 将字段标记为必填
  4. 单击左侧窗格规则"下的编辑"按钮
  5. 在左侧框中,向下滚动到字段"类别,然后将相关信息输入到特定于 字段与特定值进行比较
  6. 在右侧框中,在操作"类别下选择隐藏元素"
  1. Create a DropList field on your form in Sitecore
  2. Add an Option named something like "NA" (signifying "Not Applicable")
  3. Mark the field as required
  4. Click on the "Edit" button, under "Rules" in the left pane
  5. In the left box, scroll down to the "Fields" category and enter the relevant information into the "where specific field compares to specific value
  6. In the right box, select "hide element", under the "Actions" category

这篇关于营销人员的Web表单可动态形成条件可见性字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆