Skip to main content
Known Participant
Jun 6, 2021 9:29 AM UTC
Question

To configure an Edit Button in an Interface

Hi,

I have two scenarios to edit a particular record in a form:

1. When clicking the Edit button the particular field should allow me to edit the field value(field should be highlighted).

2.When clicking the Edit button an another form should open for editing a particular field.

Ultimately we should be using a PM to write the updated data.

Could someone please help me here?

Thanks

Faisal

    2 replies

    Participating Frequently
    Jun 6, 2021 12:17 PM UTC

    For scenario 1, create a local variable and set it to false initially (local!isEdit: false()).  Use this variable as the value for "readOnly" for all fields that you want the user to be able to edit.  Add a Rich Text Icon with a link that will set the value of isEdit to true() when clicked.

    For scenario 2, use a Record Action Field to display a Record Action for updating that record.

    Known Participant
    Jun 9, 2021 9:48 AM UTC

    Thank you Bryant. In case of further doubt I will again get back to you.