ValidationErrors for new extra fields in registration prevent actions from Admin
-
Hi,
I have customize registration form, as you mentioned in https://www.jfarthing.com/development/theme-my-login/adding-extra-registration-fields/ and added 3 extra fields in registration and profile form as Telephone no., Job Title, Company name. And also add validation errors to them (in registration and Profile form) as they are mandatory fields.So, from front end it is working fine.
But now, from admin section, if administrator has tried to edit any user, he is facing those validation errors(extra fields validation errors) for Profile form in ‘Edit User’ section. Errors not allow to administrator to save Edit User form.
Same case for ‘Add User’ case in admin section. If administrator tries to add new user from admin section, then he is facing registration forms errors.
Is there any solution to prevent this?
Can’t we force to write validation errors for only front end forms?
Or anything else so we can keep admin functionality as it and just change front forms end as per our need without disturbing admin?Please help. Any help is most appreciated.
Thanks and regards.
- The topic ‘ValidationErrors for new extra fields in registration prevent actions from Admin’ is closed to new replies.