Delete action with textarea to be filled

Delete action with textarea to be filled

desinobvdesinobv Posts: 1Questions: 0Answers: 0
edited June 2023 in Free community support

Hello,

We are using DataTable & DataTable Editor with list, create, edit ,inline, delete actions.

The delete action needs to have a Textarea field & submitted along with delete action to be stored in database somewhere . Anyone can help on this?

Replies

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    This example from this thread should get you going. In that one, it's making the Age field read-only on edit, but writable on create.

    For you, you could add code to say that if the action is remove, then use field().show() to show a custom remove message, otherwise you could use field().hide() to hide it.

    Would that do the trick?

    Colin

Sign In or Register to comment.