Skip to main content
Question

Forms displayed in a pop-up window

  • October 30, 2019
  • 0 replies
  • 172 views

In a parent table (example: [PROJECTS]), when inside the form for adding a new record to this table [PROJECTS] is it possible to add a record to a child table (example: [TASKS]) via a button (example: the "Add Task" button) in a pop up window similar to an alert?

Unfortunately, selecting the "Open Target in New Window" option in Field Properties opens a new tab and it doesn't perform the specific action I'm looking for.

The UX that was requested is to have the new window open in a smaller pop-up window in which the the child record can be entered and then closed without leaving the original form on the parent record. 

I've been told that this is not supported, however, I was wondering if there were any known workarounds out there.


------------------------------
T$
------------------------------
This topic has been closed for replies.

  • Registered
  • October 31, 2019
Thomas, currently forms to display as pop-up functionality is not in QB (to my understanding) except when you are adding a new value to drop-down for which the field is referenced from your master table, the QB will popup the form to add new value by displaying add record in master form. 

The otherway to achieve this is to create a form using javascript and load that script on your button click. Javascript experts can jump-in here.

------------------------------
Babi Panjikar
------------------------------

AdamKeever1
Forum|alt.badge.img+2
  • Registered
  • October 31, 2019
You can display the child table on your form and have it editable from that form rather than having to open a window or new form:

Use these setting in your form:


------------------------------
Adam Keever
------------------------------

EverettPatterso
Forum|alt.badge.img+10
You can use jquery dialog along with API_AddRecord to generate a nice look while never leaving the original form/report.

See Dan's post, How To Dialog?



------------------------------
Everett Patterson
------------------------------