Forum Discussion
BlakeHarrison
Qrew Captain
What are you wanting to happen?
------------------------------
Blake Harrison
bharrison@datablender.io
DataBlender - Quickbase Solution Provider
Atlanta GA
404.800.1702 / http://datablender.io/
------------------------------
------------------------------
Blake Harrison
bharrison@datablender.io
DataBlender - Quickbase Solution Provider
Atlanta GA
404.800.1702 / http://datablender.io/
------------------------------
MarielaVasquez
4 years agoQrew Member
I need the moment to be saved in addition to storing the information that was entered, mark a check field as true, that the date on which that happened is saved, the username of the person who is making the change and copy the information from one field to another
------------------------------
Mariela Vasquez
------------------------------
------------------------------
Mariela Vasquez
------------------------------
- AustinK4 years agoQrew CommanderIt 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.- MarielaVasquez4 years agoQrew MemberThe 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
------------------------------- MarkShnier__You4 years agoQrew ChampionMaria,
You are probably way over complicating this.
Can you take a step back and explain in words what you are trying to do. What is the button supposed to do.
Are you just trying to execute some URLs and then refresh the page? If so then there is a much simpler way.
Do you have an existing code that uses Java script that you are trying to replace? If so please post that code.
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------