5

enter image description here

I am facing an issue with wffm number field regular expression. Wherever a user enters alphabet characters in a number field it's showing default value "Field contains an invalid number." but i have entered regular expression field value in form editor(shown in screen shot). It should display message which I have given in Multi Regular Expression form editor. Can anyone help me to solve this issue.

Number field form editor Multi Regular Expression value[![Number field regular expression validation message showing default message]3

1

In this scenario where you want to show regular expression message. Please use field type as Single-line-text and apply validation as "Number only" under validation section(left panel). Please see below screenshot of WFFM Form

WFFM From enter image description here

Page Response- Here you can see in below screenshot,it is displaying regular expression message, now you can customize validation message. enter image description here

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.