Skip to main content
Solved

Add Record -POPUP Window size

  • March 24, 2022
  • 0 replies
  • 293 views

Forum|alt.badge.img+4
What would be the correct syntax to add to this formula to designate the dimensions of the popup window ?
 
URLRoot() & "db/" & [_DBID_CONTACTS] & "?a=API_GenAddRecordForm&_fid_12=" & URLEncode ([Record ID# - Company])& "&z=" & Rurl()




------------------------------
Eric Fixler
------------------------------

Best answer by MarkShnierYou

Try this syntax as a Rich Text Formula field


var text URL=  ... your URL goes here;

"<a class='Vibrant Success OpenAsPopup' data-height=500 data-width=500 data-refresh=true href=\"" & $url & "\" >your button words go here </a>"

------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------
This topic has been closed for replies.

  • Registered
  • March 24, 2022
It is either no longer possible natively or the answer is in here towards the bottom. https://community.quickbase.com/communities/community-home/digestviewer/viewthread?MessageKey=93aaf152-6cbc-448c-aec2-5486acd65019&CommunityKey=d860b0f8-6a48-487b-b346-44c47a19a804&tab=digestviewer

There is also a post there by Juiced Tech in which they say they have a solution but that is likely a paid solution just to prepare you. Good people over there though.

Forum|alt.badge.img+20
  • Registered
  • March 24, 2022
Marks solution should work. That thread was when they first released the Openaspopup class. At first, they did not have a way to control the size of the popup - hence the thread.

But shortly after that thread, they released a way to control the size AND whether or not the page you launched from refreshes when you close the popup (thats the data-referesh=true part).

------------------------------
Mike Tamoush
------------------------------