Sometimes developer wants to
avoid ERROR Pop-up message
and display error in text field on page instead.
By Default PeopleSoft
show Pop-up when you use ERROR command.
Here are the workaround steps
that prevent data saving without error popping message on component. We can also use this approach on self service pages.
·
Open Component in App Designer and navigate to properties
·
Go to Internet tab
·
Checked off Disabled Toolbar that prevent showing delivered save button.
o
If
you want to hide only Save button in the toolbar and disable the Alt+1 (Save)
hot key. Go to Use tab and checked off Disabled Saving Page and follow below steps
to call DOSAVENOW()
·
Create your own button named “Save” and place on page
·
On FieldChange of Save button, do your processing and
if successful then use DOSAVENOW() method
or display error in page text field.