Get edited field name with submitSuccess

Get edited field name with submitSuccess

stuartsjb-icrstuartsjb-icr Posts: 59Questions: 12Answers: 0

I want to use the submitSuccess event to execute some additional code, but only for one particular editable field.

editor.on('submitSuccess', function(e, json, data)

Probably a straightforward answer here but how can I find out which field was edited using e, json or data? Do I need to use a different event instead?

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,520Questions: 1Answers: 10,473 Site admin
    Answer ✓

    Is this from inline editing? You can use displayed() to determine what fields are displayed.

    Allan

This discussion has been closed.