• Nikhil More
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 3
    Replies

I am writing a trigger on User object. The scenario is that if some user from a particular domain is invited then as usual this person will receive chatter invite and can register if he is not part of org. I have written a trigger user_before_insert will add an error if the user's email ID is of particular domain and it is working fine.

 

PS: When the insert user fails during this external chatter user is trying to register Salesforce shows on error page 'User account could not be created' instead of this can i redirect my user to a custom VF page? how?

Thanks in Advance!!

Hi.

 

One of my client needs to know how an Email Address is validated

by salesforce,because the same validation rule /specification should be done

with another application/system the client uses.

 

This is to balance the Email validation  specification  in both systems/application.

 

Thanks

suresh