Forum Discussion

DwightMunson1's avatar
DwightMunson1
Qrew Assistant Captain
11 months ago

New Forms and API Buttons

I'm having an issue. This is working in old forms but not new forms. 
I have a button that opens a popup window, where you enter data and save the record, then it calls a code page to run a timer while a pipeline runs, then closes the popup window and refreshed the page you executed from. 

On the new form it's not calling the code page and just navigating back to the page you pressed the button on within the popup window. I think it's a bug. The URL in the popup window window is different on the new form. It's adding another iteration of NextURL and adding a &page=1 to the end. 

Has anyone else experienced something similar and have a solution? I put in a support ticket in case this needs to be added to a bug report.

URL in old form popup:

https://myrealm.quickbase.com/db/xxxxxxxxx?a=API_GenAddRecordForm&_fid_7=546394&_fid_10=PGE&NextURL=https%3A%2F%myrealm.quickbase.com%2Fdb%xxxxxxxxx%3Fa%3Ddbpage%26pageid%3D95

URL in new form popup: 

https://myrealm.quickbase.com/db/xxxxxxxxx/form?a=API_GenAddRecordForm&_fid_7=546394&_fid_10=PGE&NextURL=https%3A%2F%myrealm.quickbase.com%2Fdb%2Fxxxxxxxxx%3Fa%3Ddbpage%26pageid%3D95&nexturl=https%3A%2F%2Fmyrealm.quickbase.com%2Fdb%2Fxxxxxxxxx%3Fa%3Ddbpage%26pageid%3D95&page=1



------------------------------
Dwight Munson
------------------------------

4 Replies

  • I think I'm running into the same issue. I'm trying to use the "Copy this [Record]" button and having the "&page=1" added at the end messing with it.

    Edit: Found a solution, delete the new form. 😔

    ------------------------------
    Sam Jones
    ------------------------------

    • DwightMunson1's avatar
      DwightMunson1
      Qrew Assistant Captain

      I got a reply from support. 
      It looks like new forms do have a problem with NextURL. 

      For now this kind of thing is stopping me from fulling implementing new forms. I have this kind of functionality many places, and this hasn't been the first thing to stop me from doing it; just the latest. 



      ------------------------------
      Dwight Munson
      ------------------------------
      • SamJones's avatar
        SamJones
        Qrew Member

        I'm fairly frustrated that adding a new form to a table affects behavior on the old forms. Makes it very challenging to test migrating to the new forms.



        ------------------------------
        Sam Jones
        ------------------------------