Skip navigation
Currently Being Moderated

LiveCycle Barcodes dont work in Form Server

Aug 1, 2007 2:21 PM

Hi,

I've run into a strange problem. I designed a form using LC designer and added barcodes to it. The form is a multipage form and contains substantial amount of data. Since all this data cannot fit into one form, one the click of the submit button, the script reads all this data and breaks into smaller chunks which are then rendered as barcodes. In the PDF form this script does the job of generating barcodes on the click of the button. The same function is also called on the form load event to render the data incase the form is already populated (when viewed later).
However, when I deploy this form on Adobe form server, the bar codes are not generated properly. The PDF shows around 20 such barcodes, but when I run it through decoder, I only get one or two barcode tags which do not contain any data. Further, any app.alert() tags put in XDP can not make it the PDF generated by Form Server. The log from JBoss reports "app is undefined".
When I take the same XML file and specify it as the default XML file for the XDP template under properties and the test the form in Live Cycle designer, the form is rendered perfectly with all javascript alerts and barcodes with full XML data.

I'm totally stumped on this one. Any help will be greatly appreciated.

Best Regards,
Sanket
 
Replies
  • Currently Being Moderated
    Aug 1, 2007 4:41 PM   in reply to (Sanket_Sharma)
    Hi Sanket,

    When you are trying to decode the barcodes, are you scanning an image of the printed and scanned document or are you trying to process an electronic version of the PDF that was simply filled in and saved?

    If you are trying to scan the electronic document then the barcodes may not have been rendered correctly in Reader. The workflow of the barcode engine is that it expects printed and scanned images. If the document is still "electronic" then use Forms to read the field values themselves and not the barcode.

    One other tip, do not put XML directly into the barcodes, use a delimited format and you will save a tremendous amount of space.
     
    |
    Mark as:
  • Currently Being Moderated
    Aug 2, 2007 5:18 AM   in reply to (Sanket_Sharma)
    Hi Sanket,

    It sounds like when you are generating the PDF you are not generating a "PDF Form" which may cause you to generate an almost-static PDF.

    Which version of Forms do you have?

    In regards to XML inside barcodes, PDF417 was invented almost 20 years ago by Symbol. I don't consider delimited text a bad design, it is certainly more efficient usage of space since the tags alone in XML can sometimes require more space than the data itself.

    If you are using the Adobe Decoder, use tab-delimited including field names and the decoder will convert this to XML for you after the decode so you get the best of both worlds.
     
    |
    Mark as:
  • Currently Being Moderated
    Aug 3, 2007 6:06 AM   in reply to (Sanket_Sharma)
    Hi Sanket,

    Yes, when you generate forms out of Forms Server you can have them generated as PDF or PDF Forms. If you don't use "Forms" then you won't get the right features in the form when the user sees it.

    If you would like some guidance in regards to Forms, post your question to the LiveCycle Forms forum and you'll get the expertise you need in that area.

    In regards to the XML, understood. :)
     
    |
    Mark as:
  • Currently Being Moderated
    Feb 6, 2008 10:45 PM   in reply to (Sanket_Sharma)
    Hi there,
    i am using Adobe livecycle Designer 7.1 and i have created a from in
    which i have used paperForm barcode. but i want that barcode to be changing as i change the values in the text fields.
     
    |
    Mark as:
  • Currently Being Moderated
    Feb 7, 2008 7:16 AM   in reply to (Sanket_Sharma)
    By default with Designer 7.1 you have the option to encode the entire form or a specific subform. This can be figured in the "object" panel.
    As Sanket had mentioned, you may want to simply use JavaScript to encode exactly the data and format you require.
     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)