Skip to main content
Question

Button That Checks a box on a form and then redirects to the app homepage

  • May 19, 2022
  • 0 replies
  • 68 views

I have a button with the following code that does check the box but instead of taking me to the app home page it takes me to a page with some code on it that is pasted below the formula. I have tried several variations of the end of the formula for the redirect but so far no luck on that part.

URLRoot() & "db/" & Dbid()
& "?a=API_EditRecord"
& "&rid=" & [Record ID#]
& "&_fid_1152=yes"
& "&rdr"
& URLEncode("https://georgiabuildingauthority.quickbase.com/db/bka89j884")


<qdbapi>
<action>API_EditRecord</action>
<errcode>0</errcode>
<errtext>No error</errtext>
<rid>11541</rid>
<num_fields_changed>1</num_fields_changed>
<update_id>1652985137631</update_id>
</qdbapi>


------------------------------
Chris Swirtz
------------------------------
This topic has been closed for replies.

Forum|alt.badge.img+20
  • Registered
  • May 19, 2022
It doesn't like the redirect. Probably the http:// but better practice is to use the URLRoot() command so try:

& URLEncode(URLRoot() & "db/bka89j884")

URLRoot will always put yourdomain@quickbase.com

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