on 05-17-2015 11:24 AM
Hi Experts,
I am trying to hide comments fields ( HRASR_PREVIOUS_NOTES and HRASR_CURRENT_NOTE) on conditional based. I have created a group and created text view element in that group and added previous and current note fields. And I tried to hide the textview element, so that the total group would be hidden. But it not hiding the comments fields. Kindly help me with a solution.
Thanks & Regards,
Suresh
It is actually quite easy. I have done this on just about every HCM P&F project I have been on.
For Adobe forms, simply check the element with Javascript for "is empty" (or whatever your condition is) and hide accordingly.
For FPM, add the fields in your "form fields" and you will have visibility to them automatically. Then set their UI attributes to be set by some generic service of your own. In your generic service, check conditions and set UI attributes as needed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok....since a few of you asked for FPM forms....think outside the box a bit.
I wrote another blog about how to control table cells by "binding" them to a "technical field" for visibility.
Same thing...you will have to make an enhancement in the feeder class.....and in there, you will "bind" your "technical" field to the visibility of the "notes".
Then, just as in the blog, setting your "technical" field in your own generic service (or directly) will affect if the notes are shown or hidden.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.