Forum Discussion

AlexGale's avatar
AlexGale
Qrew Captain
7 years ago

Make ""edit"" view default

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. 
  • 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#]
    • AlexGale's avatar
      AlexGale
      Qrew Captain
      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. 
  • >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}';
      });
    • AlexGale's avatar
      AlexGale
      Qrew Captain
      Thanks, that worked from the console.