Using closeOnComplete with create()

Using closeOnComplete with create()

johrobjohrob Posts: 2Questions: 2Answers: 0

I am trying to create a data entry form that captures information and remains open after posting in order to capture other rows.
The closeOnComplete is working in the sense that it keeps the window open, However, the add button no longer responds and post future records.

Does the closeOnComplete work with create() or just edit()?

Does anyone know how to acheive this?

Thanks

Answers

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin

    closeOnComplete should work with create(), as you say, in the sense that it keeps the window open, but it doesn't reset the form. For that, I think what you would need to do is listen for submitComplete and call create() in its callback handler.

    Allan

This discussion has been closed.