function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Srinu@dreamsSrinu@dreams 

How to disable form input fields in vf at particular day?

HariDineshHariDinesh

Hi,

 

You can use Rendered Attribute for that field and get True or False by Property variable and set that variable to true when the Date.Today() matches your date.

 

Srinu@dreamsSrinu@dreams

Thanks for reply,

but,

Form should not hide from the page I want to disable it only

HariDineshHariDinesh

Probably you can't disable it.

There is no defined Attribute that disables a field based on some condition.