You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am looking to do some custom validation on my registration, in my case checking the user's email address against a given list. I've created a class implementing the IRegistrationFormEvents interface so I can use the RegistrationValidationAsync method, but I cannot see how to access the RegisterViewModel from here. How do I access the posted data from my potential new user to validate it?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am looking to do some custom validation on my registration, in my case checking the user's email address against a given list. I've created a class implementing the IRegistrationFormEvents interface so I can use the RegistrationValidationAsync method, but I cannot see how to access the RegisterViewModel from here. How do I access the posted data from my potential new user to validate it?
Beta Was this translation helpful? Give feedback.
All reactions