Quantcast
Channel: SCN: Message List - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 7775

Do_validate_input

$
0
0

Hi guys,

 

I have been working on duplicate E-Mail check for contacts. Here I have written the logic as when the user enters any duplicate E-Mail ID, the system has to throw an error message. So for one particular instance I have written the code in do_validate_input.

 

Now, when the user enters the duplicate E-mail and clicks on the overview page BACK button, the system executes the do_validate_logic and because of the back button it navigates to the account details page (from contact detail page) and saves the duplicate E-Mail along with the error message.

 

Kindly let me know how I can handle this where the page navigation should not happen and stay on the same page with the error message displayed.

 

Note: The back button is the standard button, which automatically saves the data and then navigates to the account details page.

 

Regards,

Pradeep.


Viewing all articles
Browse latest Browse all 7775

Trending Articles