Is it possible to create interactive forms?

  • Profile Image
    Asked on May 30, 2012 at 06:42 AM

    Hi, I was just wondering whether it is possible to do something like this:

    1) In some page a user is asked to fill a form label with a number

    2) in the next page the form is built according to the number the user has inputted

    So, for instance, I would expect a dialog like this:

    - How many rabbits to you have? 3

    - Name of rabbit 1: ...

    - Name of rabbit 2: ...

    - Name of rabbit 3: ...

    It seems to me that playing with conditions to hide/show form makes no sense since I can't now apriori the number the user inputs. In javascript I think I could do something as "get[some_label_id]" and loop accordingly. However, I can't see I way to add my own javascript to the forms, and also I would no more benefits from JotForm WYSIWYG capability, I think.

    Is this possible in JotForm?

    Thanks guys! G.

  • Profile Image
    Answered on May 30, 2012 at 11:36 AM

    To populate the fields and set the priority for the user inputs you would have to download the full source code of the form and embed your custom javascript code from there to achieve such functionality.

    To download the full source codes for your form:

    1.  Go to Setup & Embed
    2.  Click the Embed Form button
    3.  Choose Source, you can copy the code provided in the box and insert your own custom javascript.

    Let us know if you have further questions.