I have a large form with many fields and controls on it. Form needs to be read only after it has been submitted for approval. List contains a Status field which defaults to New for new items and then is changed depending upon the approval process.
I thought the easiest way to prevent editing is to hide the save button. However I have not been able to get the appearance expression to correctly hide the button.
All help is appreciated. Thanks. --Ron
Solved! Go to Solution.
You can hide the Save button using an expression. Go to the Control Settings of the Save button and expand the Appearance section. Next select "Expression" from the Visible setting. For the Expression setting, choose the Insert Reference button to the right of the field. Next select "Is New Mode" from the Common tab and insert it into the formula. Save your settings and this should only display the Save button if a user is filling out a new form.
Thank you for your reply and help. Unfortunately, I am trying to hide the button not on the form state, but on the value of a field.
I was able to formulate a work-a-round by going to the control settings for the button and in the Ribbon section, set Show On Ribbon to No. I then moved the button to a panel and set a rule to hide the panel when the value of the Status field is not New.
I'm just curious why I couldn't get the Visible expression to work as desired.
I do appreciate the help. --Ron