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,7 +195,7 @@
195 <regex> 195 <regex>
196 <validator>regex</validator> 196 <validator>regex</validator>
197 <options> 197 <options>
198 - <pattern>/[[:digit:]]/i</pattern> 198 + <pattern>/^(([0-9]?)+)$/</pattern>
199 <messages> 199 <messages>
200 <regexNotMatch>This field should contain numbers only</regexNotMatch> 200 <regexNotMatch>This field should contain numbers only</regexNotMatch>
201 </messages> 201 </messages>