Discussions

 View Only
  • 1.  Make ""edit"" view default

    Posted 06-20-2018 15:53
    Currently, when you click a record it takes you to the View form. Is it possible for it to instead take you to the Edit form? 

    I'm expecting the answer to just be no, but it would be nice. I tried turning off viewing in a custom report, but that wasn't what I was looking for. 


  • 2.  RE: Make ""edit"" view default

    Posted 06-20-2018 16:08
    You can't natively default to edit, but you can easily make a URL formula button to EDIT, which gives the user a larger target to click.


    URLRoot() & "db/" & dbid() & "?a=er&rid=" & [Record ID#]


  • 3.  RE: Make ""edit"" view default

    Posted 06-20-2018 16:09
    .. and make a nice colour for the button like blue 058df5


  • 4.  RE: Make ""edit"" view default

    Posted 06-20-2018 16:15
    I actually did think of the button thing, but it's clearly not an ideal solution. Thanks anyways though, if something can't be done it can't be done.

    Also that _is_ a nice blue colour, so that's something. 


  • 5.  RE: Make ""edit"" view default

    Posted 06-20-2018 16:23
    >if something can't be done it can't be done.

    Everything is possible with script in QuickBase.


    Just inject this code (or manually test from the console):

    $("table.searchResults tr")
      .removeAttr("canview")
      .on("click", function(event) {
        var rid = $(this).attr("id").substr(3);
        document.location.href = '${gReqDBID}?a=er&rid=${rid}';
      });


  • 6.  RE: Make ""edit"" view default

    Posted 06-20-2018 16:25
    Thanks, that worked from the console.