Title: Custom validation
Last modified: May 28, 2018

---

# Custom validation

 *  Resolved [khaotic](https://wordpress.org/support/users/khaotic/)
 * (@khaotic)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/custom-validation-16/)
 * Hi there,
 * I have a technic question (my php is so poor, sorry). Well, I have an intranet
   page of my company and with plugin “Next Active Directory Integration” I can 
   get some info about workers like department or office. It works really good but
   user page is “read only” – it will be nice if it will be change.
 * Let me explain. I have 300 users, and 150 is in department “A”, 120 in department“
   B” and 30 in department “C”. How to do after clicking “A” I will be redirected
   to special page of people from “A” department?
    Next: if I’m on the profile tab
   of worker from “B”, and in “Department” tab I see “B”, after click on “B” I’m
   redirected to the page of “B” employers?
 * Have you got any template where I will change the values?
 * I hope you’ll understand what I mean 😀
    Thank you for all replies Greets

Viewing 1 replies (of 1 total)

 *  Plugin Support [Ultimate Member Support](https://wordpress.org/support/users/ultimatemembersupport/)
 * (@ultimatemembersupport)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/custom-validation-16/#post-10335994)
 * Hi [@khaotic](https://wordpress.org/support/users/khaotic/),
 * You can try to achieve this using [unique profile forms for different user roles](https://docs.ultimatemember.com/article/100-unique-profiles-for-different-user-roles),
   you can also restrict pages for certain users roles and set redirect to the disired
   pages.
 * Regards.

Viewing 1 replies (of 1 total)

The topic ‘Custom validation’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ultimate Member Support](https://wordpress.org/support/users/ultimatemembersupport/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/custom-validation-16/#post-10335994)
 * Status: resolved