cancel
Showing results for 
Search instead for 
Did you mean: 

Date Validation and losing the value

Former Member
0 Kudos

SO I have a screen with mulitple tabs for the user to enter data. If the user goes to a date field and enters "02/29/2005" and tries to SAVE the doValidate logic tells them they have an invalid date and leaves the cursor inthe field. All is working just fine.

However, if they do the same steps but move to a different tab to enter additional data before saving. The error message still comes up telling the user of an invalid format, but since SAP can't take the user back to the tab with the bad date on it it will wipe out the value, and then continue processing the onInputProcessing logic.

Anyone else run across this, and did you find a good way to handle this so the user doesn't lose data, or you take them back to the tab/tabs in error.

Thanks,

Anthony

Accepted Solutions (0)

Answers (1)

Answers (1)

athavanraja
Active Contributor
0 Kudos

There is an OSS for doValidate in tabstrips(i currently dont have oss access)

When you move from tab to tab is OnSelect (SERVER EVENT) triggered?

When the date format is wrong and if the user tries to submit, the doValidate will popup a message and the form wont be submitted at all? Only thing is that the user will not be taken to the tab where the value is wrong, he has to find the tab with wrong value to correct it.

But doValidate will stop the submit process if the format is wrong.

Regards

Raja