Generally SaveEdit will fire at the time of saving the component. In this transaction we can fire the field validations also. At the time of firing the validation Save edit event wont guide the cursor to target field, it wont turn the field into red.Generally we can see this type of behavior in Field edit.
To change the behavior of Save edit as like as Field edit, We can add the custom code to turn the field into red and move the cursor into desired position.
If Validation fails
xxx_xxx_tbl.myfield.style = "PSERROR";
Setcursorpos(xxx_xxx_tbl.myfield);
else
xxx_xxx_tbl.myfield.style = "PSEDITBOX";
end-if;
Intrested in PeopleSoft Learning Please reach us on info@OnlineIT365.com
OnlineIT365.com.
https://www.facebook.com/ONLINEIT365
https://twitter.com/ONLINEIT365
To change the behavior of Save edit as like as Field edit, We can add the custom code to turn the field into red and move the cursor into desired position.
If Validation fails
xxx_xxx_tbl.myfield.style = "PSERROR";
Setcursorpos(xxx_xxx_tbl.myfield);
else
xxx_xxx_tbl.myfield.style = "PSEDITBOX";
end-if;
Intrested in PeopleSoft Learning Please reach us on info@OnlineIT365.com
OnlineIT365.com.
https://www.facebook.com/ONLINEIT365
https://twitter.com/ONLINEIT365
No comments:
Post a Comment