I'm curious if a command can be added to a button to have the rdr go back to the same place on the page when you clicked the button.
Example... I have a button that adds a child record, but the button is basically in the middle of the form. When you click the button, it successfully adds the record and comes right back to the parent, but you always land at the top of the page and not back where the button is (for more clarity, it's a "+" and a "-" button to add count to inventory, so I want to click the plus button and just return right back to where the button is on the page so I can click it again).
Thanks for the help!
Make an anchor tag as a text formula field with HTML enabled and put it near where you want to position to after the button does its thing
Then just suffix your last rdr with # and the tag name. The tag name is case sensitive and while I have not tested, I avoid any spaces or special characters.
You may have to play a bit in the placement of the anchor tag. When you get it placed right, then just edit the form properties to hide the anchor tag field name so the field will be invisible
Here is an example of the last part of a URL formula button. It will display the record and jump to the PTdemo anchor tag.
h t t p s://xxxxxxx.quickbase.com/db/xxxxxxxqb?a=dr&rid=17#PTdemo
URLRoot() & "db/" & Dbid() & "?a=API_EditRecord&apptoken=xxxxxxxxxxxxxxxxxxx&rid=" & URLEncode ([Record ID#])&"&_fid_88=" & URLEncode ([Location - Address: Street 1])&
"&_fid_89=" & URLEncode ([Location - Address: Street 2])&
"&_fid_90=" & URLEncode ([Location - Address: City])&
"&_fid_91=" & URLEncode ([Location - Address: State/Region])&
"&_fid_92=" & URLEncode ([Location - Address: Postal Code])&
"&_fid_93=" & URLEncode ([Location - Address: Country])&
"&rdr=" & URLEncode(URLRoot() & "db/" & Dbid() & "?a=er&rid=" & [Record ID#] & "#Anchor2")