Salesforce Fact #558 | Auto calculate end date LWC

Suppose we have an input date field in LWC which is startdate and can be editable by user. Now, there is another field enddate which would be set to 30 days later the selected start date and it should be read only.

We can implement the same using some JS logic.

Attached are the screenshots.





Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow