I have the need to validate new user registrations against a database. In order for a user to register, they’ll need to enter a number in a field that is then verified against a simple text database. Preferably, this should happen on the form, exposing the submit button on validation. If not, submitting the form should look it up, returning an error if not validated. Is any of this possible with user registrations?
In addition, I need to place the new user, if validated, into a specific user role.
Ideally, I’d have multiple forms depending on the user role I need to add them to.
Gravity Forms validation takes place after clicking the submit button. Using the following filter you can run your own code to perform the validation and make the field fail validation if needed: https://docs.gravityforms.com/gform_field_validation/