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

Question

Question

Data Not Coming Through to Forms Template

asked on April 3, 2014

I have a form that I created in Forms. We use JS to make two fields read-only (become read only after data is transfered in via URL (ie. ro input). When I add a Save to Laserfiche service task, assign the correct field variables and run the workflow, the saved document does not contain the two read only fields. 

 

Anyone encounter this? Have a work around?

 

0 0

Answer

APPROVED ANSWER
replied on April 3, 2014

For a JavaScript work around, see the answer to this question.

1 0

Replies

replied on April 3, 2014

What JavaScript code are you using to make the fields read only?

0 0
replied on April 3, 2014

$(document).ready(function () {
    $('.ro input').attr('readonly','True');
})

0 0
replied on April 3, 2014

A little more information here that I found when building a demo recently; it may not be relevant in this case, but good to know nonetheless:

If you have javascript calculating values and entering them into the fields or a database lookup populating the fields, you need to make sure that the Javascript is marking the fields as read only AFTER the value is populated.  If the field is marked as read only before the values are populated, Forms will not pass that value to the template.

1 0
replied on April 3, 2014

Does your form contain a file upload field?

0 0
replied on April 3, 2014

Yes it does - See image above

0 0
replied on April 3, 2014

This is a bug we have filed in our system and are looking to address. This thread will be updated once more information is available.

0 0
replied on May 21, 2014

It appears Laserfiche has addressed the bug Alexander described above. https://support.laserfiche.com/KB/1013483

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

Sign in to reply to this post.