need to get other data before edit completes

need to get other data before edit completes

obrienjobrienj Posts: 93Questions: 38Answers: 0

I have a requirement to get a selection from the user as to how an update is to proceed.

I need to collect this selection and update the data going to the server after the user clicks "Update" but before the server is called.

I would like a popup like alert, confirm, or prompt but the requirement is for 3 radio buttons and those functions don't support.

Anyone have any ideas?

Regards,
Jim

This question has an accepted answers - jump to answer

Answers

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

    preSubmit is where you can cancel the submit in Editor. Have it return false initially, and show a custom conformation dialogue box (you'd need to write that bit). Then, if it is confirmed, call submit() and this time in preSubmit allow it to go through.

    Allan

This discussion has been closed.