Conditional fields using web forms for marketers?

2019-06-25 04:53发布

I need to show/hide a field based on the value entered in another field. The field that is conditionally made visible also needs to be a mandatory field.

Is this possible using WFFM? Will I need to do it using custom fields?

Thanks!

2条回答
Juvenile、少年°
2楼-- · 2019-06-25 05:18

You can use JQuery for this and also you can create custom field for this you just simply copy and paste previous one and reflect Sitecore.Forms.Core.dll and see the code how you can achieve this. But I generally use JQuery if I can manage via this

查看更多
孤傲高冷的网名
3楼-- · 2019-06-25 05:26

You would need to build a custom complex type to do this. You might be able to re-use existing field types in your custom type, but it would probably be simpler to create them specifically for the new complex type.

查看更多
登录 后发表回答