1 Reply Latest reply on Sep 18, 2018 8:29 AM by Sanford Whiteman

    Marketo form field - Visibility rules || Web Visitor Source

    David Kumar J

      Hi,

      I was trying to hide some fields for Mobile and Tablet, but should be visible on Desktop visits. Is there any possibility to do that?

      Is this the right way to do that? Please help!!!

       

        • Re: Marketo form field - Visibility rules || Web Visitor Source
          Sanford Whiteman

          You can't tie a VR to a field that won't be filled in in the browser.

           

          On the other hand, you can tie a VR to a hidden field, and in turn populate that field with the browser platform using JavaScript, which effectively lets you set visibility based on platform.

           

          But I would say CSS media queries are preferable. An exception is that CSS can't be used to hide a field that is set to Required b/c the form will not be able to submit -- while a VR can hide a required field safely, as the the required-ness will not be enforced.