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

    Jquery Dynamic Drop Down?!

    Asked by retrophonic on June 11, 2013 at 06:15 AM

    Hi There,

    I need to make a dynamic drop down. I'm pretty sure you can't do this from the already implemented options in the form builder.
    I've written a dynamic drop down that i'd like to put into the "html" option on the form builder. However this uses jquery and it's not working for some reason.
    Is there a way of implementing my code into the form builder?

     

    Thanks

    Daryl

    Form Builder dynamic drop down builder thanks
  • Profile Image

    Answered by sidharth_kch on June 11, 2013 at 06:54 AM

    @retrophonic

    Please let us know your website URL where you have embeded your form's source code and the jquery code for dynamic dropdown.

    There must be some code conflict. We will have a check.

    Thanks,

    Sidharth

  • Profile Image

    Answered by retrophonic on June 11, 2013 at 09:26 AM

    this is the code i'm trying to put in:

     

    <script type='text/javascript' src='//koviko.net/wp-includes/js/jquery/jquery.js?ver=1.4.2'></script>


    </head>
    <body>
    <script type="text/javascript" src="//koviko.net/wp-content/uploads/2010/10/jquery.dynamicDropdown.min_.js"></script>
    Reason For Returning:
    <select id="example">
        <option value="1">Damaged » I Need A Collection</option>
        <option value="2">Not Working » I Need A Collection</option>
        <option value="3">Not Suitbale » I'm Sending Back</option>
        <option value="4">Incorrect Item Received » I Need A Collection</option>
        <option value="5">Incorrect Item Ordered » I'm Sending Back</option>
        <option value="6">Other Reason</option>
      </select>
    <script type="text/javascript">jQuery("#example").dynamicDropdown({"delimiter":" » "});</script>




    </body>

  • Profile Image
    JotForm Support

    Answered by abajan on June 11, 2013 at 10:12 AM

    Hi Daryl

    I've had a look at the site from which I believe you got the plugin (Build an accessible, client-side chained selection drop down) but I'm wondering if it won't be simpler to implement a solution similar to that shown here because it won't require embedding the form's source and using jQuery.

    Also, I'm not sure if it would help in this instance but there's a video that details how conflicts between jQuery and other scripts can be avoided.

    Perhaps when we see your web page, we'll be able to better assist you.


    Wayne 

  • Profile Image
    JotForm Support

    Answered by abajan on June 11, 2013 at 10:14 AM

    Sorry, here's the video:

  • Profile Image

    Answered by retrophonic on June 11, 2013 at 10:16 AM

    Hi Wayne, thanks for your quick reply.

    I've had a futher look into the system and came across that link you provided. However i'm having another issue. But hopefully it will be resolved here.

  • Profile Image
    JotForm Support

    Answered by abajan on June 11, 2013 at 10:28 AM

    No problem. I'll have a look and see what I can do.