Forum Discussion

JoshuaCase's avatar
JoshuaCase
Qrew Cadet
6 years ago

Removing Default Save Buttons (when Adding)

I am creating a customer portal application where I want our companies customers to be able to submit a record to a related app via a custom URL save button BUT I would want the QB native "Save and Close" button to not show up.  Any thoughts on how to achieve this?  Would I have to make changes to the users role permissions?

------------------------------
Joshua Case
------------------------------
  • if your familiar with the Image Onload Technique by Dan Diebolt, you can create a code page with this code to remove the save button:

    $("#formFooterButtonsContainer").hide();
    $("#saveButton, #saveButton + a").hide();


    ------------------------------
    GMacri
    ------------------------------
  • Hi Joshua,

    One way I have accomplished this in the past is to use an Iframe of the record on the Dashboard for the app or a button that uses an iframe'd version of the form. This way you can use a custom save button and the Iframe helps you to hide the standard QB options. This way you can channel them to your custom save button. If you put the form on the dashboard you can also redirect them to a thank you page, etc.

    ------------------------------
    Evan Martinez
    Community Marketing Manager
    Quick Base
    ------------------------------
    • DonLarson's avatar
      DonLarson
      Qrew Elite
      Evan,

      Do you have an example of using an iframe this way?  Maybe in one of the Sample Apps of Kirks?

      ------------------------------
      Don Larson
      Paasporter
      Westlake OH
      ------------------------------
      • GiuseppeMacri's avatar
        GiuseppeMacri
        Qrew Captain
        Iframes work by simply adding &ifv=1 into the URL of any given quickbase page.

        This will remove all default buttons, so you'll need to create a button to do the save activity

        ------------------------------
        GMacri
        ------------------------------