How do I do this:
To something like this (note: catch up below is grayed out):
Here is a step by step work around to disable one radio button using a simple javascript.
- We need to set a page field name from the radio button properties. I named this one "ADJ_CATCHUP".
- Place HTML area to the bottom of the page to make sure that the page had been fully rendered before the javascript being called)
- Assign Record and Field into the HTML area properties
- Create a new HTML definition
Note: (I use bind variable so I can reuse this HTML code with a different field name or property(true/false)
- Place the peoplecode below where you need it. In my case, I put it in the page activate.
If &_has_paid_amounts is True, then it will disable catch up radio button. Otherwise, enable it.
- That should be it.
Just tried this on PS CS Delegated Access page on the delegate push button and didn't work for me.
ReplyDelete