How to implement create and continue(create)

How to implement create and continue(create)

test52test52 Posts: 2Questions: 1Answers: 0

I would like have button "create and continue", which doesn't close dialog after creating new item,
but clear inputs.

This question has an accepted answers - jump to answer

Answers

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

    Hi,

    This could be done using Editor's buttons() options - you'd call submit() with the fourth parameter set to false so it doesn't hide the form, and then immediately call create().

    This example, while not exactly what you are looking for, will be of some use in creating the required code, as it does something very similar.

    Regards,
    Allan

  • test52test52 Posts: 2Questions: 1Answers: 0

    Thank you

This discussion has been closed.