Skip to main content
Question

Field value into Code page

  • March 27, 2024
  • 0 replies
  • 396 views

Hi Folks,

I'm trying to create a landing page for a button. I want to use field values from the table to be displayed in the landing page, How to do that using Code page? 

Thanks in advance,



------------------------------
RH
------------------------------
This topic has been closed for replies.

Forum|alt.badge.img+9
  • Quickbase Alumni
  • March 27, 2024

You can either query the record from the codepage or pop the data into URL parameters. For example you could do: 

https://yourealm.quickbase.com/db/appdbid?a=dbpage&pageid=your page id&rid=INSERT RECORD ID# here 

and then in your code page you query back to that table and specifically target the RID in the URL param. 

Or you can just shove all the data in the button like: 

https://yourealm.quickbase.com/db/appdbid?a=dbpage&pageid=your page id&field1=info for field 1&field2=info for field 2&field3=info for field 3..... so on and so on

Then you just grab the params and set them as variables to use in your HTML



------------------------------
Chayce Duncan
------------------------------