This topic is locked

Dialog Box on Add New

8/12/2022 7:52:55 PM
PHPRunner General questions
P
pauls99 author

I would like to display a popup box when a user clicks on the "Add New" button for a certain database, which I can then use to send data to the server to autofill some of the fields on the Add page based on the user's selections in the popup box. I have done this kind of thing before with a custom button using the Dialog API in the "Client Before" section, however because the "Add New" button is not a custom button I don't have access to that. What would be the best way to go about this?

Sergey Kornilov admin 8/13/2022

Check this article for inspiration.

P
pauls99 author 8/15/2022

Thank you for sending that link. I am not sure what kind of object "this" refers to in that link, is it a Control object? I found this link to the different kinds of Events, because 'beforeSave' is not quite what I would need, but I don't know if that is the right link to go to.