0

enter image description here

enter image description here

Hi All, i am using sitecore 8.1 update 1 with WFFM 8.1.rev. 151008 in my site from the above image as you can see i have defined reg ex validation message for age field, but in output on click submit the custom error message is not appearing instead its showing a different message as below 2nd image.

The same regex error mesage is working fine if i use aspx layout , please let me know is this a bug in sitecore or any other work around.

6
  • Right under that Error Message box there is a section called Validation Error Messages (MVC) with 3 field validation messages. Did you try setting those?
    – jammykam
    Commented Nov 24, 2016 at 18:56
  • Below the error message section i can see only Minimum length and maximum length setting, but no section defining MVC Error messages inside the form editor Commented Nov 25, 2016 at 5:06
  • You should see the following fields which are used for MVC. If you don't, then something else is wrong: imgur.com/a/MTGt0
    – jammykam
    Commented Nov 25, 2016 at 11:17
  • I guess it is not in 8.1 update 1.. In the release notes of 8.1 update 2: New features & improvements New functionality has been added in Form Designer which lets you define custom error validation messages for MVC forms (70805, 67103) dev.sitecore.net/Downloads/Web%20Forms%20For%20Marketers/… Commented Nov 25, 2016 at 11:56
  • Thanks for your reply Bluemink, so will the wffm update-2 package works on my sitecore 8.1 update 1 ? Commented Nov 25, 2016 at 13:25

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.