Open editor window as a Standalone screen in different window

Open editor window as a Standalone screen in different window

kaustubh.agrawal2000kaustubh.agrawal2000 Posts: 88Questions: 39Answers: 2

I want to do the following

Screen 1 : Show data table with records and 2 buttons (NEW, EDIT)
When user clicks NEW --> He should be redirected to a new screen (Screen2) , with a form (Editor form) with all the fields
that i need to get the data from user.

When user click EDIT --> He should be redirected to the same screen (Screen2), with the same form data prefilled and user can edit the data.

Kindly help with this..

This question has an accepted answers - jump to answer

Answers

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

    I'm afraid that is not something that is currently built in to Editor. The way to do it would be to build the standalone Editor page, and then have a query parameter in the URL that would tell it what to populate into the form - e.g. edit.php?id=5.

    Our server-side libraries aren't built for that though, so while it would be possible to have the client-side Editor do that with little modification (i.e. just use it in standalone mode) you'd need to write your own server-side code for populating the form, creating, editing and deleting.

    Allan

  • kaustubh.agrawal2000kaustubh.agrawal2000 Posts: 88Questions: 39Answers: 2

    OK.. got it..
    Thanks a lot for always replying quickly.

This discussion has been closed.