How can I manipulate the form via jQuery?

  • Profile Image
    tresextio
    Asked on November 19, 2013 at 06:06 AM

    I embed the form via the javascript snippet.

    I want to do some manipulation, e.g. toggling show/hide uploading fields, on the form. But as the DOM already is loaded, jQuery doesn't find any of the jotform elements. How would I go about to be able to access the form via jQuery?

  • Profile Image
    Jeanette
    Answered on November 19, 2013 at 11:11 AM

    If  you want to get the HTML elements in order to manipulate the form through  jquery codes, you would need to dowload the full source code of the form, making sure you got both CSS and JS files

    However, let me tell you that since most of the controls in JotForm would render javascript prototype, this might cause conflict with jquery libraries. Specially if the form have some conditions, validations, integrations rendered in prototype coding

    If you have further questions, let us know

  • Profile Image
    Jeanette
    Answered on November 19, 2013 at 11:12 AM

    Please check the guide to see how to download the full source