Form validation problem with Opencart

0

I have a site e-commerce in opencart and I have a problem in the field RG which is as follows, when the user registers it fills all the fields normally but in the RG field there are those users who have one less digit in the RG they normally register in the site more when they are going to make a purchase they can not conclude it by the fact that the RG is with a number less would like to know if it is possible to put a code that does the following when the user registers a RG with a digit unless add a 0 in the field so that it is complete. I believe that this code goes inside the controller of the form I was not the one who developed the site but I have to make this change.

    
asked by anonymous 26.05.2017 / 15:31

1 answer

1

The RG does not have unified numbering. The same individual may have RGs issued by the local government, may also use functional portfolios such as CREA or CRM or military identities issued by the Army, for example. So I do not think you should recommend any kind of RG validation.

    
20.10.2017 / 19:16