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

    Hide fields basing on URL params

    Asked by Filip on January 13, 2012 at 05:17 AM

    On the forms we develop we need to show/hide some fields basing on values passed in query string. I developed a sample form (linked) to demonstrate the problem: I'd like to show the name textbox if we pass test=true in URL, otherwise I want to hide it.

    From what I read in your forum it’s not possible. I only found a workaround described in thread: http://www.jotform.com/answers/37986-Is-there-a-way-I-can-use-hidden-fields-to-show-certain-questions?entrymessage=10732640770).

    Is there any other solution to that problem than the one described in linked post? We have our own installation of JotForm deployed - maybe it's an easy code change that we could introduce?  
    If there is no other solution, can you answer this:

    1. I have over 25 fields on my form that should be displayed on a single page. One of the fields should be show/hidden basing on a query param. From what I understand using solution with pages I would have to recreate all 25 fields on other page just to implement that hidding of a single field. Am I right?

    2. How do I apply CSS changes to a form that I embed on my page using your script link if it generates an iframe?

    3. The button text would say 'Next' instead of 'Submit'. Can this be changed?


    Page URL:
    http://form.jotform.com/form/20114642312

  • Profile Image
    JotForm Founder

    Answered by aytekin on January 13, 2012 at 10:48 AM

    Please do not send the same question to multiple support places, and do not ask multiple unrelated questions on the same forum thread. Thanks. 

  • Profile Image

    Answered by Filip on January 16, 2012 at 03:20 AM

    I originally posted this in a topic describing the same issue, but your support told me to start a new thread. So I did.

    All the questions asked are related to the workaround suggested in the topic I mentioned (see link in my first post)

    I already found answer for my 2nd question, the remaining 1 & 3 are still to be answered.

  • Profile Image

    Answered by fxr on January 16, 2012 at 10:37 AM

    Filip, 

    If you could break them two questions up into two seperate threads, it would be great as makes our job a little bit easier. 

    But I will answer them here curtly, 

    1) You can hide one field on a page on your form quite easily, there is no need to create a near identical new page, conditional logic on forms is explained here

     

    3) Yes, just click on the Properties of the Submit button field and enter your new text in the relevant place. 

     

     

    If you need any further explanation of either of these methods, please do open a new thread and we do our very best to help you. 

  • Profile Image

    Answered by Filip on January 17, 2012 at 05:31 AM

    Hi FXR

    Unfortunetally your post doesn't answer my questions. This is because all my above questions are very specific to the workaround described in the following thread (already linked in my first post):

    http://www.jotform.com/answers/37986-Is-there-a-way-I-can-use-hidden-fields-to-show-certain-questions?entrymessage=10732640770

    So, to make it easier for you guys let me start from the begining:

    Currently it seems that hiding/showing fields basing on values passed in url params doesn't work. The linked thread describes a workaround for that.

    My main question is: Is there any other option to the one described in linked thread?

     

     

  • Profile Image

    Answered by fxr on January 17, 2012 at 05:51 AM

    We have one question outstanding now. Please open a new thread for it. Thanks. 

    We are trying our very best to help you here, but you have try to understand how our support environment works. One thread, one issue makes it easier for us to route users queries to the correct person to get his questions answered. Please try to understand that. thanks.