Making Fields Read Only After Form is Submitted

  • 1 November 2016
  • 3 replies
  • 34 views

Badge +3

I am building a form for a ticketing system. When the user fills out the item form and hits submit, I would like to make those fields static (read-only) so they cannot be changed when the user clicks the list item and selects "edit item". I do not want to take away all controls as I want them to be able to add notes. Only the initial selections they made should be read only. What is the best way to do this? 

Is it through a rule?

Is it through an expression when building the initial form? 

Is this done through a workflow item?

Thank you.

I attached a screenshot of what I am describing above. The screenshot is from when you select the item in the list and click "edit item". 


3 replies

Userlevel 6
Badge +12

Hello Cody Allison‌ - 

You can do this per control by going into the control settings and under Appearance, change the "Enabled" dropdown to Expression and add in the Is New Mode reference under the common tab.

193758_pastedImage_3.png

This will make the field enable only when the form is in New Mode. After submission, it cannot be edited via the form.

Here it is in action:

New ModeEdit Mode
193763_pastedImage_8.png193759_pastedImage_6.png

Hope this helps!

Badge +3

Jesse, 

Thank you so much! This is exactly what I was looking for!

Badge +2
excellent! Thank you

Reply