Jquery conflict with JotForm - AdobeSign widget.

  • Profile Image
    drsmart
    Asked on February 26, 2018 at 06:40 PM

    I am having a conflict with a Jquery script that runs a datepicker control on my form.  After reading other support pages, one (https://www.jotform.com/answers/788991-jquery-and-jotform-conflict) suggested using  https://api.jquery.com/jquery.noconflict/

    When I go to this page, it says to insert the "No Conflict" call before the code of the other (Non-Jquery) script.

    <script src="other_lib.js"></script>
    <script src="jquery.js"></script>
    <script>
    $.noConflict();
    // Code that uses other library's $ can follow here.
    </script>
     
    The Jotform AdobeSign Widget references the script
    <script type="text/javascript"
    src="https://data-widgets.jotform.io/echoSign/min/scripts.min.js">
    </script>
     
    Is this script available in a normal (not minimized) form to be able to
    add the $.noConflict(); line to it?
  • Profile Image
    Jan
    Answered on February 26, 2018 at 09:31 PM

    Yes, you can add the no conflict code below the jquery.js element. It should work on normal or minimized version.

    If you are still having issues, please provide the URL of the webpage where the form is embedded so that we can further investigate.

    Hope that helps. Thank you.

  • Profile Image
    Foch smart 
    Answered on February 27, 2018 at 02:00 PM

    Can you tell me where to find the adobe sign widget script in a “ normal” version?  (Similar to widgets.jotform.io/echoSign.js"> ?

  • Profile Image
    Jan
    Answered on February 27, 2018 at 02:38 PM

    Unfortunately, I was not able to find the "normal" version of the script. Even if you download the full source code. Only the minified version is available. Here's an example:

    https://data-widgets.jotform.io/echoSign/min/scripts.min.js

    Thank you for your understanding.

  • Profile Image
    aubreybourke
    Answered on March 01, 2018 at 09:46 AM

    Another way to avoid scripting conflicts is to simply embed your form using the iFrame method:

    Getting-the-Form-iFrame-Code


  • Profile Image
    drsmart
    Answered on March 01, 2018 at 01:31 PM

    Thanks for your response.  I considered that approach but, for several reasons, I'd like to try to avoid using an iFrame.  If there was a way to have the date field (input from Jquery datepicker) included in the "signed" pdf document sent from Adobe Sign, that would be ideal.  Hoping someone may be able to help me understand the Adobe Sign widget code to make this work.

  • Profile Image
    Richie_P
    Answered on March 01, 2018 at 02:23 PM

    Unfortunately, I'm not familiar with the Adobe sign Widget codes.

    I checked the minified version https://data-widgets.jotform.io/echoSign/min/scripts.min.js but can't seem to get the code.

    As what my colleague has suggested, using the IFrame method would avoid conflicts on the code.

    -Getting-the-Form-iFrame-Code

  • Profile Image
    drsmart
    Answered on March 01, 2018 at 10:19 PM

    I can imagine that no one tech support person could possibly be familiar with all JotForm widgets.  Would it be possible to refer me to a person (or department) that may be familiar with the Adobe Sign Widget codes?  Do I need to post the question to another thread, etc.?

  • Profile Image
    BJoanna
    Answered on March 02, 2018 at 02:38 AM

    Unfortunately, this is out of our scope. Maybe you can find some additional info here: https://developers.jotform.com/widgets