make sure validations work accordingly - paint a red box for phone number if invalid
after validation, get the redirect to complete the validation process rather than going to step 2 (phone validation)
several fields need to be set by parsing the CNP in custom -> residence.rb (document_number) - DOB, gender
alternative way to render HTML for terms (change use of tags in locale file - config/locales/ro-RO/verification.yml / accept_terms_all)
Validation page is http://localhost:3000/residence/new
Run the container attached to make sure you get the registration code from there and avoid setting up SMTP integration (saves lots of time)
To achieve both residence and sms/phone validation in a single page, a controller must be added to app/controllers/custom/verification - path must be created
There are several issues to resolve
make sure validations work accordingly - paint a red box for phone number if invalidafter validation, get the redirect to complete the validation process rather than going to step 2 (phone validation)several fields need to be set by parsing the CNP incustom -> residence.rb
(document_number) - DOB, genderconfig/locales/ro-RO/verification.yml
/accept_terms_all
)Validation page is
http://localhost:3000/residence/new
Run the container attached to make sure you get the registration code from there and avoid setting up SMTP integration (saves lots of time)