Formula to hide a formula text button

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered

This is my Formula Text Button.
I want it not to show, or show a clear.png If the form is dfid=6.

var text URL = URLRoot() & "db/" & Dbid() & "?a=dr&rid=" & ToText([Record ID#]) & "&dfid=6" ;

var text Image = ">";

"<a href=" & $URL &">" & $Image & "</a>"

Photo of Michael Graham | Insight Global UK

Posted 3 years ago

  • 0
  • 1
I'm confused by the question. You can't base an IF on whether or not you are in Form ID #6.  If you want the button to be on a form, then put it in that form.
Ah yes, but there is method in my madness.
I have another formula text button which strings together in a List, all the other buttons.
For simplicity I wanted to be able to add the single List Button to each of the forms.  
Currently when I do that the Button shows up for the form Im on. I just wanted to hide it or do something to change it IF it was showing on the actual form that it redirects to.
I don't know of a native way to detect the current form and use it ina formula.