Forum Discussion

RyanWhitener's avatar
RyanWhitener
Qrew Cadet
4 years ago

Making a Rich Text Formula Field into a Button

I am not very fluent in coding, even at the basic level. I found on a different post the formula below for a "Save and Keep Working" field to appear in the middle of a form but can't figure out how to make it appear like a button. 

"<div style='Vibrant Success' onclick=$('#footerSaveAndKeepWorkingMenuOption').click();>Save and Keep Working</div>"

A button similar to the "add record" buttons that are automatically created

Thanks in advance!



------------------------------
Ryan Whitener
------------------------------

3 Replies

  • AngelRodriguez's avatar
    AngelRodriguez
    Qrew Assistant Captain
    Hi Ryan. If you're trying to set this up from any of your forms, you can select this option under 'Properties'. No coding necessary in this case. 


    The button dropdown gives the user the option to 'Save & keep working'. 



    ------------------------------
    AR
    ------------------------------
  • On your form, in the Properties section, you need to first be sure that the 'Save and Keep Working' option is selected. Then, the formula that I've been using is this:

    "<a class='Vibrant Success' style=' border:1px #6BBD57; background-color:#6BBD57' onclick=$('#footerSaveAndKeepWorkingMenuOption').click();>Save and Keep Working</a>"

    The border and background-color styling is just to adjust the default colors of this class to match the green of the built-in buttons.

    ------------------------------
    Blake Harrison
    bharrison@datablender.io
    DataBlender - Quick Base Solution Provider
    Atlanta GA
    404.800.1702 / http://datablender.io/
    ------------------------------
    • RyanWhitener's avatar
      RyanWhitener
      Qrew Cadet
      Awesome. Thank you Blake! Just what I was looking for.

      ------------------------------
      Ryan Whitener
      ------------------------------