Skip to main content
Question

Help! Button URL

  • March 11, 2021
  • 0 replies
  • 25 views

Hello, can someone give me the idea of how to make a url button register information in several fields, I currently have a button that takes me to a page that has a form with two fields, but only registers one. this is my code.

var text urlToExecute = URLRoot() & "db/" & Dbid() & "?a=API_EditRecord&apptoken=cnbri4sbttfxsfys53ftbiz34vv"
& "&rid=" & [Record ID#]
& "&_fid_30="
& "&_fid_111=" // I've tried adding another record but this one doesn't work
;
URLRoot() & "db/" & AppID() & "?a=dbpage&pageid=11" 
& "&url=" & URLEncode($urlToExecute)

------------------------------
Jaime Fonseca
------------------------------
This topic has been closed for replies.

  • Registered
  • March 11, 2021
Is that your full formula? It does not appear there is anything beyond this line & "&_fid_30=" that would cause it to do anything. It would need to be similar to this line & "&rid=" & [Record ID#] where you put a field or piece of data there for it to take.

var text urlToExecute = URLRoot() & "db/" & Dbid() & "?a=API_EditRecord&apptoken=cnbri4sbttfxsfys53ftbiz34vv"
& "&rid=" & [Record ID#]
& "&_fid_30=" & "data"
& "&_fid_111=" & [or field]

If that was not the issue and you sanitized the formula, try posting it again with something in place of the removed parts.