You are viewing limited content. For full access, please sign in.

Discussion

Discussion

Form will not save in repository with Javascript (Unable to find PDF Generator)

posted on December 14, 2018

I have a form that contains the following JS.
This JS takes data from a field populated from a lookup and writes it into a Custom HTML field. (it's actually an image)

The form submits with no issues but suspends when trying to write the form to the Repository (Unable to find PDF Generator).

If I remove the JS, the form saves to the repository with no issues.

 

$(document).ready(function() {

  $('.frame1').remove();
   var imgsrc = $('#q22 textarea').val();
    $('#q24').append("<iframe img src='"+imgsrc+"' width=200px height=70px name='frame1' id='frame1'class='frame1'></iframe>");
        $('#Field24').trigger('change');   
});

0 0
replied on December 19, 2018

I looked this over with one of our devs and he said that should work in principle. He suggested trying it not as an iframe to see if that works. Otherwise, if you'd like to open a support case, we can take a closer look. 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.