Forum Discussion
I'm not sure if this works with tabs on the new forms, but I found that this formula does work with steps. I have a 24 page form and needed custom API buttons to save initials and dates at about 10 different points on different pages. I found that this code worked to save and return me to the specific page that I'm on.
URLRoot() & "db/" & "<your table ID here>"
& "?a=API_EditRecord"
& "&rid=" & URLEncode([Record ID#])
& "&apptoken=<your app token here>"
& "&rdr=" & URLEncode(URLRoot() & "db/" & Dbid() & "?a=er&rid=" & [Record ID#] & "page%3D&page=1")
Specifically, the portion of code that redirects to a specific page on the new forms is `page%3D&page=1`. It's hardcoded and I haven't attempted to pull the page number dynamically, but this certainly works as I'm using it in a bunch of places on my form. The `%3D` in the URL is a percent-encoded version of the equals sign (=), so it looks a bit redundant to state "page=&page=1". This may be some type of variable assignment in the URL. Either way it works.