Hi @afarinasso,
I’m doing well. Regarding your question about validation, we overwrite the jquery.validate.js file with the user-registration-form-validator.js file to incorporate all the necessary validation codes. You can also do the same to add validation as per your requirements. If you make changes to the user-registration-form-validator.js file, they may be lost due to a plugin update. Therefore, we recommend creating a new file and adding the validation accordingly.
Furthermore, you have the option to handle the validation process using a provided trigger as well:
$(document).trigger(
“user_registration_frontend_validate_before_form_submit”,
[$this]
);
By using this trigger, you can effectively manage the validation process after submit button is clicked.
Regards!
Hi!, very thanks for your response, I´ll try it.
Have a good day!
Andrés
Hi again, sorry about my ignorance, I have a number field on the registration form called ‘rut’, i need to check if this field have some characteristics with a function that returns true or false, can you send to me an example of how to use on it?
$(document).trigger(
“user_registration_frontend_validate_before_form_submit”,
[$this]
);
Sorry and thanks again, I’m embarrassed but I couldn’t apply it, you save my life.