Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
As an option: add a class to the input, and limit it by the class by the script
$(document).ready(function(){
$(".myclass").keypress(function(event){
var inputValue = event.charCode;
if(!(inputValue >= 65 && inputValue <= 120) && (inputValue != 32 && inputValue != 0)){
event.preventDefault();
}
});
});
https://stackoverflow.com/questions/24070092/conta...
Article on kama
https://wp-kama.ru/plugin/contact-form-7-custom-va...
And there is even a plugin
https:/ /wordpress.org/plugins/jquery-validation-fo...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question