0

Use Tooltip to echo contents of a field.

Probably for the JS/HTML/CSS geniuses Jacques TUR  :-).

I have formula field which fetches a note field contents from another table.  Because I have to keep the formula field as small as possible the note is not always fully visible (runs off the end of the field).

Since there is a tooltip I am wondering if it would be possible to 'engineer' it so that when the mouse hovers over the field the contents of the field is displayed in the tooltip.

3 replies

null
    • Ninox partner
    • RoSoft_Steven.1
    • 2 yrs ago
    • Reported - view

    +1 for this missing and usefull feature. (the use of formulas in the tooltip setting)

    In the meantime while Jacques (or someone else) is looking for a CSS hack, you can use the 'On click' setting with this as formula:

    let p := text('Formula field');
    alert(p)

    So when you click in the formula field an alert popsup with the content of your field.

    Steven

      • Ninox developper
      • Jacques_TUR
      • 2 yrs ago
      • Reported - view

      RoSoft_Steven It's good and simple solution 👍. In addition to, you can create a formula with a tooltip like this:

      html("<div class='cards-values' title = """ + Speech + """>" + Speech + "</div>")

      Here, Speech field contain the long text. The text is put in "div" section between <div> and </div>. the "title" attribute in div section define tool tip text (see JS sample here).

    • szormpas
    • 3 days ago
    • Reported - view

    Hi, on top of that, we can use the Popover API to create custom popovers that show content from our Ninox database in the way I suggest in the Dashboard_v11_1.

Content aside

  • Status Answered
  • 3 days agoLast active
  • 3Replies
  • 176Views
  • 4 Following