trigger preSubmit()

trigger preSubmit()

pmengopmengo Posts: 74Questions: 37Answers: 2

editor.preSumit() is not a funcion.

How can i trigger the preSubmit event

Answers

  • pmengopmengo Posts: 74Questions: 37Answers: 2

    DOM events and bubbling

    Please note that unlike DataTables, Editor does not emit DOM events. The events from Editor are entirely Javascript based and to listen for these events, you should use the Editor API methods described here.

    So, what can cause that event doesnt fire when submit

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

    editor.preSumit() is not a funcion.

    No it isn't. The API methods at all listed here.

    There are no external options to trigger the events emitted by Editor. I'm not clear on why you would want to do so? The preSubmit event will be triggered by Editor, immediately prior to submission of data to the Ajax source.

    Allan

  • pmengopmengo Posts: 74Questions: 37Answers: 2

    not if this._tidy is true

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

    I'm afraid I don't understand. _tidy is a private method in Editor and I'm not sure what relevance it has here?

    Allan

  • pmengopmengo Posts: 74Questions: 37Answers: 2
    edited March 2016

    Nevermind. I just override processing(false)

This discussion has been closed.