What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Can I use conditional logic for when a form is being viewed on mobile

    Asked by sjreynolds on November 14, 2015 at 05:14 AM

    Hi, 

     

    I want to display one set of fields on desktop, and one on mobile. Is this possible using the mobile responsive widget? Ie can this detect and return a value if the form is loaded on a mobile screen, and hence hide/show other fields?

    Page URL:
    salons.rockpamperscissors.co.uk/your-services

    Mobile use mobile responsive responsive widget media queries conditional logic screen sizes
  • Profile Image
    JotForm Support

    Answered by abajan on November 14, 2015 at 04:28 PM

    The Mobile Responsive widget has no such settings but that's what media queries do. The following resources should prove useful:

    How To Use CSS3 Media Queries To Create a Mobile Version of Your Website

    CSS Media Queries for iPads & iPhones

    Logic in Media Queries


    You would either inject the requisite CSS or enter it in the work area of the CSS tab of the Form Designer:


    Should you need assistance with applying media queries to specific elements of your JotForm(s), we'd be happy to provide it.


    Cheers

  • Profile Image

    Answered by sjreynolds on December 03, 2015 at 07:32 AM

    Thanks, 

    Custom css works great. ta

  • Profile Image

    Answered by victor on December 03, 2015 at 09:00 AM

    On behalf of my colleague, you are welcome. If you have any other question or issue, please do not hesitate contacting us. We will be glad to assist.