Help with Formula Js

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sergiohacks3
    Junior Member
    • Jul 2018
    • 25

    #1

    Help with Formula Js

    hello .. I need help in the following, I want to put a button in a field, I picked the style that loads it perfectly from the main.html, in the default value the html code (I'm using the text view editor), and I'm missing the javascript I charge it in the main.html, but it loads before the DOM ... how can I add javascript easily to the field ?? try the default value "javascript: ...." but it loads the same before the page .. ??
  • sergiohacks3
    Junior Member
    • Jul 2018
    • 25

    #2

    Comment

    • sergiohacks3
      Junior Member
      • Jul 2018
      • 25

      #3

      Comment

      • sergiohacks3
        Junior Member
        • Jul 2018
        • 25

        #4

        solved, add the javascript code in
        /client/modules/crm/src/views/contact/detail.js


        with the method afterRender:

        Comment

        Working...