0 Replies Latest reply on Feb 22, 2008 6:12 AM by (deviskec)

    barcodes in form guides

      Hi!

      I have a problem with using Barcodes added with Livecycle Designer in Workspace ES. The Barcode works great in preview and also with adobe reader and adobe acrobat, but when i add a form guide to the pdf and try to show it in Workspace ES I get an error from workspace:

      ReferenceError: Error #1065: Variable fields is not defined.
      at xfamx.scripting::Node/execEvent()
      at xfamx.scripting::Node/_executeEventWithDependencyTracking()
      at xfamx.scripting::Field/execCalculate()
      at xfamx.scripting::ContainerNode/execCalculate()
      at xfamx.scripting::Subform/execCalculate()
      at xfamx.scripting::ContainerNode/execCalculate()
      at xfamx.scripting::Subform/execCalculate()
      at xfamx.scripting::ContainerNode/_initialize()
      at xfamx.scripting::Subform/_initialize()
      at xfamx.scripting::DataModel/initialize()
      at tmpPreview_inlineComponent1/initialize()
      at tmpPreview/createChildren()
      at mx.core::UIComponent/initialize()
      at mx.core::Container/initialize()
      at mx.core::Application/initialize()
      at tmpPreview/initialize()
      at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::childAdded()
      at mx.managers::SystemManager/initializeTopLevelWindow()
      at mx.managers::SystemManager/docFrameHandler()

      As you can guess the 'fields' is the variable used for the collection that the barcode uses. Now the PDF works perfectly fine in adobe reader/acrobat.
      I've also tried not using the fields variable setting the Barcode to use entire form data. Then i got this got error from workspace ES:

      TypeError: Error #1010: A term is undefined and has no properties.
      at xfamx.scripting::Node/execEvent()
      at xfamx.scripting::Node/_executeEventWithDependencyTracking()
      at xfamx.scripting::Field/execCalculate()
      at xfamx.scripting::ContainerNode/execCalculate()
      at xfamx.scripting::Subform/execCalculate()
      at xfamx.scripting::ContainerNode/execCalculate()
      at xfamx.scripting::Subform/execCalculate()
      at xfamx.scripting::ContainerNode/_initialize()
      at xfamx.scripting::Subform/_initialize()
      at xfamx.scripting::DataModel/initialize()
      at ga_058c4a3669710601ba17257781eb43a8_inlineComponent1/initialize()
      at ga_058c4a3669710601ba17257781eb43a8/createChildren()
      at mx.core::UIComponent/initialize()
      at mx.core::Container/initialize()
      at mx.core::Application/initialize()
      at ga_058c4a3669710601ba17257781eb43a8/initialize()
      at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::childAdded()
      at mx.managers::SystemManager/initializeTopLevelWindow()
      at mx.managers::SystemManager/docFrameHandler()

      So basically another barcodes script error occured. I know that Form guides support only a limited set of javascript and that workspace es throws errors if you use unsupported javascript, but does that mean you cant use BarCodes(which generate javascript themselves) in form guides at all ? If no, what do i need to do get it working?