Forum Discussion
- ChayceDuncan2Qrew CadetAre you referring to the way that Quick Base does the pop-up window when you opt to create a new record from a record picker? So instead of doing a true genAddRecordForm like most default buttons - have it be a pop up?
If yes - you can just mimic the behavior that QB does from a record picker like so:var text url = "https://qbrealm.quickbase.com/db/dbid?a=GenNewRecord&bg=1";
The bg=1 is truly what does it I believe.
"<a style='width: 150px;border-color:black; text-decoration: none; background:#3761a2;color:white;' class='btn btn-sm btn-primary' href='" & $url & "'" &
" target='_blank'>ADD NEW</a>"
Chayce Duncan | Technical Lead
(720) 739-1406 | chayceduncan@quandarycg.com
Quandary Knowledge Base- QuickBaseCoachDQrew CaptainMuch appreciated, I will see if I can get that working.
- ThomasEasterli1Qrew Traineeunable to get this to work. rather it opens a new tab.
------------------------------
Thomas Easterling
------------------------------
- EverettPattersoQrew CaptainTest this out in a formula rich text, change [Add Record] to your add record button and edit the height/width you want. The user will have to close the smaller window after saving.
"<a class=\"Vibrant Primary\" href=\"\" onclick=\"window.open('"& [Add Record] & "','name', 'width=600,height=400')\">Add Record New Window</a>"
------------------------------
Everett Patterson
------------------------------