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

    Preselect radio button field via URL parameters

    Asked by rubyannrsls on August 11, 2015 at 12:40 AM

    I managed to make preselect radio button via URL parameters work directly in my form. But when I integrated the form in a website, the preselect radio button via URL parameters doesn't work.

     

    Here's the direct link of the jotform form with preselected radio button,

    http://form.jotform.me/form/52078545259463?typeOf=Niche

     

    and here's the link of the jotform form integrated in a website,

    http://onlinecribinc.com/packages/citation-sources-research/citation-sources-research-form/?typeOf=Niche

     

    How can I make it work if the form is integrated in a website? Hope you can help me.  Thanks!

    Page URL:
    http://onlinecribinc.com/packages/citation-sources-research/citation-s<br/>ources-research-form/

    JotForm integrated parameters via url parameters
  • Profile Image
    JotForm Support

    Answered by BJoanna on August 11, 2015 at 04:04 AM

    Thank you for contacting us.

    You can actually preselect radio button inside of JotForm Builder. Simply select radio button field, then click on Selected option and choose option that you want to be preselected.

    Here is my cloned form: http://form.jotformpro.com/form/52221756409959? 

    Hope this will help. Let us know if you need further assistance. 

  • Profile Image

    Answered by rubyannrsls on August 11, 2015 at 08:53 PM

    Uh oh!? I dunno what happened with the title of my question. But I wanted to know how to preselect a radio button via URL parameters.

    Here is the link (*I can't upload image) of the package where the customer will choose before they fill up the form:

    http://onlinecribinc.com/packages/citation-sources-research/

    If the customer wants a niche research, the form with preselect niche radio button will show and if the customer wants a geospecific research, the form with preselect geospecific radio button will show. I am sorry for not making it clear. Hope you could help me again. Thanks!

  • Profile Image
    JotForm Support

    Answered by BJoanna on August 12, 2015 at 02:44 AM

    Considering that you have embedded your form, you could achieve that by getting a full source code of your from and then you would need to write JQuery code to preselect a radio button. Inside of this article you can find how to preselect radio button with JQuery:

    http://stackoverflow.com/questions/27806098/how-to-pre-select-a-radio-button-in-jquery 

    Other solution is to redirect you users to form that is not embedded. Than you could just redirect them to http://form.jotform.me/form/52078545259463?typeOf=Geo%20Specific  of they choose first link and http://form.jotform.me/form/52078545259463?typeOf=Niche if they choose second link.

    Hope this will help. Let us know if you need further assistance.

  • Profile Image

    Answered by rubyannrsls on August 12, 2015 at 02:55 AM

    Yikes! Sorry me. Anyways thanks for helping me. JotForm Support is really awesome. Cheers! I'll just try another way like you said. Thanks again!

  • Profile Image
    JotForm Support

    Answered by BJoanna on August 12, 2015 at 03:59 AM

    You're welcome.

    Feel free to contact us if you have any other questions.