Forum Discussion
AustinK
5 years agoQrew Commander
It is sort of hard to tell what the code above is even trying to do.. Is this the entire code with nothing removed? If so how is the user arriving here and what output does the code have where you are saying it only does one action? If you can post a sanitized version of the output URL that is failing it might really help determine where the issue is. You should be able to update several fields at once.
You have all the data you are sending in the URL already so you could also create a second payload to send it all in one tidy bundle to the field you would like everything copied to as well. There are multiple ways you might do this though.
You have all the data you are sending in the URL already so you could also create a second payload to send it all in one tidy bundle to the field you would like everything copied to as well. There are multiple ways you might do this though.
MarielaVasquez
5 years agoQrew Member
The url is not failing me, what I would like to know is if within that code and the code of the page is like this, the code was published by QuickBase when they announced that the Javascript of the buttons was going to stop working, what I need is to be able to create more than 2 fields where the user writes and the information is pasted in the defined field.
the button's code
var text urlToExecute = URLRoot() & "db/" & Dbid() & "?a=API_EditRecord" & [Token]
& "&rid=" & [Record ID#]
& "&_fid_7="
;
URLRoot() & "db/" & AppID() & "?a=dbpage&pageid=6" // Open code page 289
& "&url=" & URLEncode($urlToExecute) // Pass in the URL to execute
the code of the page is the first one I publish
------------------------------
Mariela Vasquez
------------------------------
the button's code
var text urlToExecute = URLRoot() & "db/" & Dbid() & "?a=API_EditRecord" & [Token]
& "&rid=" & [Record ID#]
& "&_fid_7="
;
URLRoot() & "db/" & AppID() & "?a=dbpage&pageid=6" // Open code page 289
& "&url=" & URLEncode($urlToExecute) // Pass in the URL to execute
the code of the page is the first one I publish
------------------------------
Mariela Vasquez
------------------------------