Button to open form as pop up

  • 0
  • 1
  • Question
  • Updated 10 months ago
  • Answered
I'm trying to complete this button so it will take the record ID in as a variable.   (The team have asked for this as a pop up, I this can be opened as a new tab).  

Hardcoded it does what I'm asking it to do.

"<a class='Vibrant Success' onclick=\"var a=window.open('https://xxxxxxxx.quickbase.com/db/xxxxxxxx?act=API_GenAddRecordForm&_fid_39=17074', 'newwindow', 'width=1200,height=600');\" >Add Contact 2</a>"

But as I want to pass [Record ID#] and this is where I get stuck.

I'm not sure how to add '=API_GenAddRecordForm&_fid_39= & ([Record ID#])'

Any help appreciated.
Photo of Jack Fretwell

Jack Fretwell

  • 804 Points 500 badge 2x thumb

Posted 10 months ago

  • 0
  • 1
Photo of Dan


  • 1,590 Points 1k badge 2x thumb
"<a class='Vibrant Success' onclick=\"var a=window.open('https://xxxxxxxx.quickbase.com/db/xxxxxxxx?act=API_GenAddRecordForm&_fid_39="&[Record ID#]&"', 'newwindow', 'width=1200,height=600');\" >Add Contact 2</a>"