Forum Discussion

CarlosCarlos's avatar
CarlosCarlos
Qrew Assistant Captain
9 years ago

Formula URL or Formula Text Button that will perform an action, without the need to navigate away from the current dashboard/report/record?

Can I create a Formula URL or Formula Text Button that will perform an action, without the need to navigate away from the current dashboard/report/record??

I have several checkboxes/dates/users that are stored via a Formula-Text button (I like to put images on the buttons instead of the normal gray ones). However, when clicked these must navigate away and redirect somewhere.

Is there a way to avoid this, being able to click the button and have it execute the command (API_EditRecord) without having to refresh the page. 

37 Replies

  • No there is no onload required.

    I see the problem.  :)

    �Item Marked Completed�, 

    Those quotes in your formula are curly  66 99 type quotes that get generated typically by Word.

    The need to be the ' kind of  single quote.  ie not � � and but a ' and '.
  • StephenStephen's avatar
    StephenStephen
    Qrew Assistant Captain
    ARGH!  That keeps happening to me and I figured out that was happening but thought I fixed them all. Thanks for catching it. In my case it's a mac "Notes" app where I keep all my code. I'll have to stop using it once-and-for-all. Gracias!
  • :) That Syntax to get a jgrowl Vibrant button is particularly difficult.  

    I keep my cheat notes for code snippets in QuickBase back where it is easily searchable and always handy when I'm on line developing.
  • StephenStephen's avatar
    StephenStephen
    Qrew Assistant Captain
    It works great....I would just want to get it to refresh the page if possible? Although that would probably make the jGrowl not very useful....
    • CarlosCarlos's avatar
      CarlosCarlos
      Qrew Assistant Captain
      Indeed... Though a "background" refresh would be great, as linked buttons won't reflect changes performed through these jgrowl actions so you always need to refresh before clicking elsewhere
  • :)  One per customer.  You get to choose a page refresh or the pop up, not both.
  • Change the middle part to this


    var text URL = 
    "javascript:" &
    "$.get('" & 
    $Update & 
    "',function(){" &
    "location.reload(true);" &
    "});" 
    & "void(0);";
  • CarlosCarlos's avatar
    CarlosCarlos
    Qrew Assistant Captain
    Anyone know if there are any more "jGrowl-COLORS" available?
    I seem to get a yellowish one with no formatting if using any other color name other than jGrowl-green?
    • HectorAubert's avatar
      HectorAubert
      Qrew Trainee
      Were you able to figure out a way to get different colors?