Commit 55a017ce07a3fee48cbfd38b891b2ce0ba70e501

Authored by Tiago
1 parent 319d67dc
Exists in master

validation only number call limit

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
modules/default/forms/extensions.xml
... ... @@ -195,7 +195,7 @@
195 195 <regex>
196 196 <validator>regex</validator>
197 197 <options>
198   - <pattern>/[[:digit:]]/i</pattern>
  198 + <pattern>/^(([0-9]?)+)$/</pattern>
199 199 <messages>
200 200 <regexNotMatch>This field should contain numbers only</regexNotMatch>
201 201 </messages>
... ...