Announcement

Collapse
No announcement yet.

Call a modal app from a form, and refresh the calling form after modal app closed?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Call a modal app from a form, and refresh the calling form after modal app closed?

    I have a form (single record) that has a button that calls a control app modally. When the modal app is closed I want the calling form to refresh to reflect that changes the modal app made. Everything works fine except for the refresh after closing. How can I achieve this?

    The button that calls the control app modally is a Link button.

    I have also tried using a PHP button (instead of a link button) with the following code:

    Code:
    sc_redir('contr_app',,'_modal');
    
    sc_redir('calling_form_app');
    That also doesn't work re the refresh. Firstly, the modal bit doesn't quite work; opens app but in a new browser window, and the main screen becomes just a menu and background with no app displayed. After after closing the "modal" form" it just closes leaving the blank main screen - so the redir to the calling app doesn't appear to happen.

    Any thoughts folks?
Working...
X