This topic is locked

Add data in a memo field with a popup menu

10/29/2023 11:53:29 AM
PHPRunner General questions
J
Jan author

**Hello everyone,
I built an application with which reservations can be made. Every time I add a reservation, I want to be able to select people from a second table (members table in a popup menu) to add them in a memo field in the "reservations" table
Can I see an example somewhere, can anyone help me? Thanks in advance.

Sergey Kornilov admin 11/3/2023

We do not have this exact example but here are some pointers.

1 . To display a popup window you can either use Dialog API or displayPopup() function:
https://xlinesoft.com/phprunner/docs/how_to_display_any_page_in_a_popup.htm
https://xlinesoft.com/phprunner/docs/about_dialog_api.htm

  1. To add something to the content of one of the fields on the screen you can use Javascript API and setValue() function:
    https://xlinesoft.com/phprunner/docs/ctrl_setvalue.htm