+ Start a Discussion
mac adminmac admin 

duplicate email ID error message while redirecting to another custom vfpage

Hi all,
I want to show the duplicate email validation error message in first Custom vfpage while redirecting to second vfpage. In Save method  I have written try catche method which is calling in the second page. But In the first page i want to show the duplicate email Id validation error message.

Can anyone help me over here.

Thanks in advance.
Regrads,
mac.
Andries.NeyensAndries.Neyens
take a look at: https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_messages.htm