Required Fields Cue
If you are using PeopleCode to perform validation on a field that has to be entered by the user, then use the
ShowRequiredFieldCue method in the
Field Class. This will display the little asterisk next to the field on the page indicating to the user that the field is required.
By replicating the default PeopleSoft behaviour, you'll add to the usability of your application. To use the method you can use a field object, or you can shortcut and use
RECORD.FIELD.ShowRequiredFieldCue = True.