Posts by Lukau Garcia • 1 point
1 post
-
0
votes3
answers105
viewsA: Add a character dynamically with PHP or Javascript
I have an idea, try using Javascript. Create a javascript file put the following code: $('.input-name').focusout(function(){ var valor = $(this).val(); if(valor.length < 9) $(this).val('0' +…