Forum Discussion

Re: Conditional Button

try this

"<a style=\"width:310px; text-align: center; background-color: #0274be; color: #fff; padding: 10px; text-decoration: none; font-weight: bold; border-radius: 4px; margin-left: -50px; text-transform: uppercase; \" onclick='DoSaveAdd()' href=" & URLRoot() & "db/" & AppID() & ">Save Changes & Exit</a>"

//Saves changes and exits to the dashboard

------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------

5 Replies

  • ChrisHesenflow's avatar
    ChrisHesenflow
    Qrew Member
    Brilliant!  Thank you so much for your help.

    ------------------------------
    Chris Hesenflow
    ------------------------------
    • MarkShnier__You's avatar
      MarkShnier__You
      Icon for Qrew Legend rankQrew Legend
      Chris, can you test two things for me so I can add that to my fully reliable tricks.

      Does it definitely actually save the data and not just say it saves the data.

      If there is a grid edit child record report on the parent and you save, does it also correctly save the children changes and not just say that it did.

      I had some previous code that I was using where the yellow message would come up to say that it was saving but in fact it was not saving. I just want to be sure that this code actually performs as advertised.

      ------------------------------
      Mark Shnier (YQC)
      Quick Base Solution Provider
      Your Quick Base Coach
      http://QuickBaseCoach.com
      mark.shnier@gmail.com
      ------------------------------
      • ChrisHesenflow's avatar
        ChrisHesenflow
        Qrew Member
        I will take a look at this a bit later today and let you know.

        Appreciate the follow up.

        ------------------------------
        Chris Hesenflow
        ------------------------------