stamatakis
Forum Replies Created
Viewing 7 replies - 1 through 7 (of 7 total)
-
Forum: Developing with WordPress
In reply to: How to forbid specific special charachters in password.I found a way using jQuery.
jQuery( document ).ready( function( $ ){ $("form").submit(function(e){ var inputValue = document.querySelectorAll('input'); var myLength = inputValue.length; var input; var val; var rgx = (/[<>'=]/g); for (var i = 0; i < myLength; ++i) { input = inputValue[i]; val = input.value; if (rgx.test(val)) { e.preventDefault(); alert("Your input is containing forrbiten charachters."); break; } } }) });
This way is not posible to submit any form with an input of containing specific (<>’=) charachters.
- This reply was modified 4 years, 2 months ago by stamatakis.
- This reply was modified 4 years, 2 months ago by James Huff.
Forum: Plugins
In reply to: [YITH WooCommerce Wishlist] Wishlist CounterSorry it was my fault. It was right! Thank you about your time.
Forum: Developing with WordPress
In reply to: How to forbid specific special charachters in password.Thank you about your quick answer but this post is about username’s characters restrictions.
Will you help me please?
I’m not sure I understand your question. My wordpress platform has all language tranlations, but I have set only one language for my site.
The last one!
Forum: Plugins
In reply to: [Page Builder by PaceThemes] I take an error in the top of the pageI use the last versions of both WordPress and Buddypress. Well with your recent update everything looks perfect. Thank you very much!
Viewing 7 replies - 1 through 7 (of 7 total)