Skip to main content
Question

Setting a Default button to add default values across multiple fields.

  • November 9, 2020
  • 0 replies
  • 234 views

Hey Everyone,

I have another question that I can't seem to figure out. Is there a way that I can add a button to my form that will auto-populate fields with default values, but the user can change if needed. I have a form that has 28 fields that take a # of employees. I'd like to be able to set defaults since these numbers won't change often, but when they do, the user can manually input a different number. Is this possible to do within quickbase?

Thanks,​

------------------------------
Alex Bennett
------------------------------
This topic has been closed for replies.

  • Registered
  • November 9, 2020
You can use API_EditRecord in a URL Button, like this:

URLRoot() & "db/" & Dbid() & "?a=API_EditRecord" &
"&rid=" & [Record ID#] &
"&apptoken=token" &
"&_fid_6=& "value" & 
"&_fid_7=" & "value" & 
"&_fid_8=" & "value" & 
"&rdr=" &
URLEncode(URLRoot() & "db/" & Dbid() &
"?a=dr&rid=" & [Record ID#])

------------------------------
Ahuva Brown
------------------------------