Forum Discussion

BriannaWagner's avatar
BriannaWagner
Qrew Member
7 years ago

Save and Redirect Button doesn't work in Chrome

I am trying to save a new record in a form then have the user click my custom button that brings them to a 'success' page. The user is in "=ifv" mode so does not see the native save buttons. I also do not have the App box checked to Automatically Save the Parent Record when a child is created. 

This Formula Rich Text field/button works to save and redirect in Internet Explorer/Microsoft Edge but does not work in Chrome which is why it is throwing me for a loop. 

"<a class=\"Vibrant Success\" onclick='DoSaveAdd()' href= '" & URLRoot() & "db/" & "bmaspn8xp" & "?a=dbpage&pagename=success.html" & "' >Save and Continue</a>
  • I would like to know if there is a solution as well. My rich text only contains the following:

    "<div class='Vibrant Alert' onclick=$('#saveButton').click();>Save</div>"

    When not in ifv=1, it works fine. The minute the page is in ifv=1, the button doesn't work...probably due to the button using the native QB function that is hidden by ifv=1?

    ------------------------------
    Ben L
    ------------------------------
    • MarkShnier__You's avatar
      MarkShnier__You
      Icon for Qrew Legend rankQrew Legend
      ry this syntax

      "<a id='saveButton' class='Vibrant Success' onclick='DoSave()' href='#'>WhatEverYouWantYourButtonToSay</a>"

      ------------------------------
      Mark Shnier (YQC)
      Quick Base Solution Provider
      Your Quick Base Coach
      http://QuickBaseCoach.com
      mark.shnier@gmail.com
      ------------------------------
      • BenjaminLarrabe's avatar
        BenjaminLarrabe
        Qrew Cadet

        Thanks Mark! I was actually able to get it to work with the following:

        "<a class=\"Vibrant Alert\" onclick='DoSave()'.click(); >Save </a>"



        ------------------------------
        Ben L
        ------------------------------