Skip to main content
Question

Close a pop up form after a button is clicked on the form

  • February 24, 2022
  • 0 replies
  • 552 views

GeorgeBramhall2
Forum|alt.badge.img+11
I have a button that sits on a report that is on a user page that creates pop up to a special form that also has a button that that acts on a checkbox and then refreshes the page.

Here is my formula that sits on the pop up form:

var text Update = URLRoot() &"db/" & Dbid() & "?act=API_EditRecord"& "&rid=" & [Record ID#]
& "&_fid_1046=1";

var text RefreshPage = URLRoot() & "db/" & Dbid() & "?a=doredirect&z=" & Rurl();

If([Ready for Dispositions]=false,$Update
& "&rdr=" & URLEncode($RefreshPage))

What do I need to add to my formula to close the pop up  after the button is clicked?

------------------------------
George Bramhall
------------------------------
This topic has been closed for replies.

GeorgeBramhall2
Forum|alt.badge.img+11
Not sure if I was clear. I want the button on the form to update the record (check a checkbox) and then close the form (pop-up)

------------------------------
George Bramhall
------------------------------