on 10-03-2009 10:33 AM
Hi,
I am workingon HCM process & forms:
My requiernmrnt is:
Form has 2 parts
part 1: It has employee information and a button "Update Display"
part 2: It has two field :- Hourly base rate and Annual salary and other pay scale related information fields.
Now when process is executed, part1 should appear on form. when user presses "Update button", then part 2 should be displayed.
Also here if amployee is hourly, then Hourly base rate should be displayed.
If employee is salaried, then annual salary shoud be displayed.
To decide employee is hourly or salaried, i have one flag coming from form fields.
How to achieve this. Please suggest.
Regards,
Ashish Gupta
Hi
In Script check the flag and do the hiding and showing of those fields.
if($record.<FLAGFIELD>.DATA[*].FIELD == "1")
then
this.presence = "visible"
else
this.presence= "hidden"
endif
Then in the button click change the visibility.
data.<Page>.<container>.<field>.presence = "visible"
Kind Regards
Mukesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.