There is some function that PHP or JavaScript does that adds a character (in this case a number) when a field has only 8 digits. within input
. because I have a form where there is the RG field, and the RG is composed of 9 digits plus there are some users that have one less digit and would like that when the user types the RG field with only 8 digits it saves in the bank with a digit the more that would be 0
Remembering that everything is working normal on my site, I would really like it when the user types the RG with one digit unless he saves it with that 0
Link to site