cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Prevent Dates from being changed

Jump to solution

Hi,

Is there a way to disable or prevent a date column from being changed after the user enters the date and saves the form?

See image below.  For example ....I would like the "Planned Start Date" to be disable after the user saves the data

Thanks in advance ! 

Labels: (1)
Reply
6 Replies
Workflow Hero

Re: Prevent Dates from being changed

Jump to solution

Can you add an expression to the enabled section of the control when ID is not null AND {Self} is not null? Can't test at this moment as not at machine but let me know how you go?

Reply
Workflow Hero

Re: Prevent Dates from being changed

Jump to solution

As suggested by Cassy Freeman , add the following condition

not(isNullOrEmpty({Self})) && not(isNullOrEmpty({ItemProperty:ID}))

but instead of adding it as an expression to the enabled section of the control add it to a new rule because the former does not have the name control tab (using which you will add the {Self} property)

Reply
Workflow Hero

Re: Prevent Dates from being changed

Jump to solution

Ah good shout!! Without sitting at my machine I was just trying to imagine what it would look like!! 

Reply
Workflow Hero

Re: Prevent Dates from being changed

Jump to solution

Still you did a pretty good job with the logic !!

Reply
Workflow Hero

Re: Prevent Dates from being changed

Jump to solution

Thank you all for the help, it works perfectly ! 

Reply
Workflow Hero

Re: Prevent Dates from being changed

Jump to solution

Glad to hear that !

Could you please update the thread as solved.

Reply