Forum Discussion

MikeKlausing's avatar
MikeKlausing
Qrew Assistant Captain
5 years ago
Solved

Hide Text Field on Form

I have HTML Text on my form, and I want to have it show only if certain conditions are met (checkbox is checked). Since its not a field on my table, rather just an HTML text on my form- in dynamic form rules this field (field 0) isnt listed as an option to do anything with. Is there a better way to do this?
  What this field i'm trying to hide is, is an image coming from our website.

------------------------------
Mike Klausing
------------------------------
  • The Ricvh text formula would be just that same string,  but in quotes

    "<img src=https://www.kbuildings.com/wp-content/uploads/2019/08/Loft-Sketch-8-26.jpg>"

    if you want to control the Height it would be

    "<img src=https://www.kbuildings.com/wp-content/uploads/2019/08/Loft-Sketch-8-26.jpg height=100>" 

     or you can also specify the width like

    width=100

    ------------------------------
    Mark Shnier (YQC)
    Quick Base Solution Provider
    Your Quick Base Coach
    http://QuickBaseCoach.com
    markshnier2@gmail.com
    ------------------------------

11 Replies

  • You would either need to turn the image text element into a formula field or else put the form element in a section all by itself and show/hide the section.

    ------------------------------
    Mark Shnier (YQC)
    Quick Base Solution Provider
    Your Quick Base Coach
    http://QuickBaseCoach.com
    markshnier2@gmail.com
    ------------------------------
    • LauraThacker's avatar
      LauraThacker
      Qrew Captain
      Per Mark, I typically convert them to formula fields so I have a lot more control over how and when they display without adding more section-lines on my form which can look to the user like they are not seeing something.

      ------------------------------
      Laura Thacker (IDS)
      laura@intelligentdbs.com
      (626) 771 0454
      ------------------------------
      • MikeKlausing's avatar
        MikeKlausing
        Qrew Assistant Captain

        Use a rich text field?

        And do this.

        (<img src="website.com"<a/> )

         

        That's not what you mean I assume? I'm sorry- I don't know what formula you mean.

         

        Thank you,
        Mike Klausing

         



        ------Original Message------

        Per Mark, I typically convert them to formula fields so I have a lot more control over how and when they display without adding more section-lines on my form which can look to the user like they are not seeing something.

        ------------------------------
        Laura Thacker (IDS)
        laura@intelligentdbs.com
        (626) 771 0454
        ------------------------------
    • MikeKlausing's avatar
      MikeKlausing
      Qrew Assistant Captain

      Thank you Mark!

       

      Thank you,
      Mike Klausing

       



      ------Original Message------

      You would either need to turn the image text element into a formula field or else put the form element in a section all by itself and show/hide the section.

      ------------------------------
      Mark Shnier (YQC)
      Quick Base Solution Provider
      Your Quick Base Coach
      http://QuickBaseCoach.com
      markshnier2@gmail.com
      ------------------------------
      • RyanStanford1's avatar
        RyanStanford1
        Qrew Captain
        You could also potentially do this with JavaScript if you have the skillset.

        ------------------------------
        Ryan Stanford
        ------------------------------