On edit modal, remove current field values

On edit modal, remove current field values

jbronikowskijbronikowski Posts: 7Questions: 4Answers: 0

We are trying to remove values from previously saved from the row we are editing. We have a scenerio where we update a row with a status of completed, issue, not started. When we set the row to issue, it forces the user to put in information into a notes field.

When we edit the row again and say set the status to complete, we want the notes field to be blank and not reference what was previously put there automatically. Ideally, if we could blank the notes field the moment the edit button was clicked it would be perfect.

Answers

  • allanallan Posts: 63,471Questions: 1Answers: 10,467 Site admin

    Sounds like a good use case for dependent(). With that you can set the field values of other fields, based on the value of the field it is attached to.

    Allan

This discussion has been closed.