Conditional fields using web forms for marketers?

笑着哭i 提交于 2019-12-10 17:16:29

问题


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!


回答1:


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.




回答2:


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



来源:https://stackoverflow.com/questions/12471002/conditional-fields-using-web-forms-for-marketers

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!