Notifications
Announcements
No record found.
I disabled date field using .setDisabled() as true. But when i disable it using .setDisabled(false), the date picker and input field is greyed out. I tried business rule also. Getting same behaviour.
Is this a bug? Any alternative solution available?
Hi,Can you please share the screenshot of business rule/script. because I tried the same with business rule and it working fine:
and with script as well:inside script used below code to enable and disabled the datetime field:
formContext.getControl("fieldlogicalname").setDisabled(true);//disabled
formContext.getControl("fieldlogicalname").setDisabled(false);//enable
Thanks,Pradeep.
I'm working in UCI CRM on premise.
Business Rule:
Form behavior: Disable 'Rent Escalation end Date' if 'Does Escalation Rate Vary?' = No. Working fine
Form behavior: Enable 'Rent Escalation end Date' if 'Does Escalation Rate Vary?' = Yes. Rent Escalation End date is unlocked/enabled, but date picker not working.
Thanks in advance,
Harisa
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 108 Super User 2025 Season 2
Jimmy Passeti 50 Most Valuable Professional
Gerardo RenterÃa Ga... 49 Most Valuable Professional