
Announcements
Hi,
We want to display a form that shows Account assigned to the signed in user. We want to show this form as read-only by default. The user can then click a button "Edit", that should change the mode of the form from read-only to edit and allow the user to make changes and then Submit.
The read-only part has been done with the below config -
We are now trying to figure out how we can add a button to switch the form to Edit mode. Any guidance on this would be mighty useful. Is there anyway we could use liquid tags to achieve this.
Regard,
Prathyoo
It is not possible to "switch" the mode of a Form.
Either have a Read-only and an Edit form or have an edit form and then using JavaScript/jQuery make all the fields read-only (then editable on button click).