I use nifty parsley js As you can see in the documentation there is only data-parsley-type="alphanum"one that allows numbers and letters. I am trying to create fields that ONLY allow letters.
data-parsley-type="alphanum"
Does anyone know how to do this?
You can use the template:
data-parsley-pattern="^[a-zA-Z]+$"
Source: https://habr.com/ru/post/1538915/More articles:INSERT datetime с использованием now() с Go - mysqlОбъединение __table_args__ с ограничениями из классов mixin в SQLAlchemy - pythonUsing sql database driver - sqlHow to extend ensemble methods in scikit-learn with the new learning algorithm - scikit-learnFinding the correct permutation of spaces and underscores in a string, in PHP - phpUse temporary variable in initializer_list results with vialotion access error - c ++How to set a real IP address when using CloudFlare, Heroku and RoR? - ruby-on-railsBad attempt to calculate absolute value - javaChecking a prime in a boolean expression without defining a function - oracleBeehive - rename fields with the same name as the data type - sqlAll Articles