How do I hide/show HTML text rows using form rules (without using Sections)?

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered
I have a form with HTML text entries associated with fields. I want to hide/show the text along with the fields using form rules. Since you can't include text in form rules, only the associated fields show/hide when fired.

For example, int the attached screenshot, I want to hide/show row 192 along with row 193 in a form rule.

I don't want to use Sections.


Thank you

Photo of Ian

Ian

  • 0 Points

Posted 3 years ago

  • 0
  • 1
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 65,542 Points 50k badge 2x thumb
You will need to make a formula text field with html enabled, for each of your text elements which you want to control with form rules.  Unless you can have a whole section which can be subject to a show/hide rule.
Photo of Ian

Ian

  • 0 Points
Mark, Can you draft what the formula should be please?
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 65,542 Points 50k badge 2x thumb
Can you tell me what you have now for the text element on the form? It is pretty hard to give your formula when I don't know what you're trying to say.
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 65,542 Points 50k badge 2x thumb
In any event, basically all you do is make a formula text field with HTML  enabled and put your formula in quotes
Photo of Ian

Ian

  • 0 Points
Here is one text element:

<img src="https://cherylsudol.quickbase.com/up/bkw3xfw8x/g/rj/eg/va/snapchat.png" width= "20"> <b>  Limit 34 Characters</b>
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 65,542 Points 50k badge 2x thumb
Try this,  but take the spaces out of the h t t p s

"<img src = h t t ps://cherylsudol.quickbase.com/up/bkw3xfw8x/g/rj/eg/va/snapchat.png width= 20> Limit 34 Characters"