WIFM Sitecore Client Side Mandatory Field Validation
3 answers
Are you using MVC layout (cshtml)? There are many bugs in the current version (2.4 rev.141008) of WFFM for MVC layouts.
One of the errors is related to the lack of scripts on the form interface.
Until the update happens, a workaround is to add these packages to the \ Views \ Form \ Index.cshtml file:
@Scripts.Render("~/bundles/wffm/jquery")
@Scripts.Render("~/bundles/wffm/scripts")
@Styles.Render("~/content/wffm/jquery")
@Styles.Render("~/content/wffm/themes")
Does it help?
+4
source to share
To get basic regex functionality or field validation, you need to set these fields in the form editor.
Then set the "Validation" field in the "Behavior" section of your field, i.e.
/ sitecore / system / Modules / Web forms for marketers / Settings / Field Types / Custom / Custom text on a separate line
0
source to share