You are viewing this site as a guest. You can still ask questions and help others! Join our Dev2Dev IT Community to receive your own blog, share your knowledge, and much more.

Displaying * (star) against the mandatory fields in a page

9 replies [Last post]
Guest's picture
Guest

I have a requirement to display * symbol agaist the mandatory fields in a PeopleSoft page. Can you please suggest how can I accomplish that. Any help would be appreciated.

Ashar's picture
User offline. Last seen 1 year 42 weeks ago. Offline
Joined: 03/26/2008
Posts: 227
Re: Displaying * (star) against the mandatory fields in a page

If you make the record field as Required in the record field properties a * will be prefixed with the field label automatically. However Key fields on the page will not have any * marked automatically. Inorder to display star for them you can add new label id with a * included in the long name or short name and then use this label in the page field.

Peace,

Ashar

HH's picture
HH (not verified)
Re: Displaying * (star) against the mandatory fields in a page

Ashar,
interetsing that key fields behave differently. The many quirks of PS.

CompShack's picture
User offline. Last seen 3 years 11 weeks ago. Offline
Joined: 12/09/2007
Posts: 167
Re: Displaying * (star) against the mandatory fields in a page

However Key fields on the page will not have any * marked automatically.

I have never heard this before so I thought I'll give it a quick test on our Tools Release 8.21 and it is NOT the case. The key field still gets a (*) to the left side if it is marked as a required field.

Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog

Ashar's picture
User offline. Last seen 1 year 42 weeks ago. Offline
Joined: 03/26/2008
Posts: 227
Re: Displaying * (star) against the mandatory fields in a page

sounds strange.. even i tested it quicly.. but it was not there.. i'm on PT 8.48...
not sure if its only for Level 0 key fields.. i hav to check it again n confirm..

Peace,

Ashar

Jag's picture
Jag (not verified)
Re: Displaying * (star) against the mandatory fields in a page

Hi,
1)In the RecordField properties Edit tab,you can check the Required property
2)You can double click on the pagefield ,it will open the page field properties .here also you can check the required property.
3)Using the peoplecode also we can do. i.e, Fieldclass property is there that is SHOW REQUIRED FIELD QUEUE.you can write this code

Thanks
Jag

Lepa's picture
User offline. Last seen 2 weeks 4 days ago. Offline
Joined: 06/23/2008
Posts: 591
Re: ShowRequiredFieldCue asterisk on required fields

Just found another neat way of marking non-required fields show as required on PS pages! It is a delivered Field Class Property called ShowRequiredFieldCue.

With PeopleTools 8, an asterisk (*) is displayed on pages beside fields that are defined as Required in PeopleSoft Application Designer. You can use this property to specify whether this asterisk, also called the required field cue, is displayed for a particular field.

For example, many fields are made required or non-required either procedurally or through PeopleCode. This means they aren’t defined as Required in PeopleSoft Application Designer, and the end-user may be confused. For these fields, you can use this property.

example code:

&DATE_FORMAT.ShowRequiredFieldCue = True;

Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog

Deepak's picture
Deepak (not verified)
Re: Displaying * (star) against the mandatory fields in a page

Use fire bug and see how they have displayed * symbol in this page (near Your Name in Post new comment) and that will do.

mahesh's picture
mahesh (not verified)
Re: Displaying * (star) against the mandatory fields in a page

Open Record--> Right click the filed to make Required --> Edit : Check Required

Guest's picture
Guest
Re: Displaying * (star) against the mandatory fields in a page

ShowRequiredFieldCue property does mark * ahead of the field but we have to explicitly handle the validation if the field has any value.

Post new comment

CAPTCHA
The question below is to prevent automated spam submissions.
3 + 0 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.