Open the event "edit" in a popup or modal?

Fredolino 26 Jul, 2019
Hello,

I wanted to ask if I could open the event "edit" in a popup or modal window.
I tried it with a task button:
URL: article_id = {var: beob_list.row.Fund.beof_id}
Open a popup? yes
Popup content: {view: beob_form}
The form pops up, but it's not the record I want to edit.

This is also true if I copy the content from the edit event to the popup content.

If I remove the hook on Open a Popup, then I come to the edit event with the correct record.
healyhatman 27 Jul, 2019
What does the debug of the popped up form say, maybe you're not getting the right thing?
Fredolino 27 Jul, 2019
Answer
No idea why it works now… :-) ...only Task button have a problem...

Event: edit
Element "Link"
URL: article_id={var:beob_list.row.Fund.beof_id}
Target: Parent
Class: modal
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger