Make "edit" view default

  • 0
  • 1
  • Question
  • Updated 5 months ago
  • In Progress
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. 
Photo of Alex Gale

Alex Gale

  • 1,092 Points 1k badge 2x thumb

Posted 5 months ago

  • 0
  • 1
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 51,036 Points 50k badge 2x thumb
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#]
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 51,036 Points 50k badge 2x thumb
.. and make a nice colour for the button like blue 058df5
Photo of Alex Gale

Alex Gale

  • 1,092 Points 1k badge 2x thumb
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. 
(Edited)
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 26,322 Points 20k badge 2x thumb
>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}`;
  });
Photo of Alex Gale

Alex Gale

  • 1,092 Points 1k badge 2x thumb
Thanks, that worked from the console.