Form.Fields[i].GetValue() problem

Form.Fields[i].GetValue() problem

Forum member · Aug 10, 2006
We are interested in migrating from a competitor's COM technology to ceTe for merging data into Acrobat forms. Our templated data forms include long data values incorporating a tag language we parse at run time. The problem is that calls to the Form.Fields[i].GetValue() method are returning extra line feeds. Example: The form data includes the following value (which is properly returned by our current technology (where "\r" is a line feed): <%%IF <%SERVICEFEE%><%%NE%%>0.00%%>Service fee\r<%%ENDIF%%><%%IF <%SURCHARGE%><%%NE%%>0.00%%>Surcharge\r<%%ENDIF%%><%%IF <%FEEAMT1%><%%NE%%>0.00%%><%FEETYPE1%>\r<%%ENDIF%%><%%IF <%FEECHECKNO1%><%%NE%%>%%> <%PMTTYPE1%>:<%FEECHECKNO1%>\r<%%ENDIF%%><%%IF <%POSTAGECOSTS%><%%NE%%>0.00%%>Postage/Delivery\r<%%ENDIF%%><%%IF <%PROMODISCOUNT%><%%NE%%>0.00%%>Discount<%%ENDIF%%> Calling Form.Fields[i].GetValue() returns (notice the "\r" in the middle of the <%SURCHARGE%> tag: <%%IF <%SERVICEFEE%><%%NE%%>0.00%%>Service fee\r<%%ENDIF%%><%%IF <%SURCH\rARGE%><%%NE%%>0.00%%>Surcharge\r<%%ENDIF%%><%%IF <%FEEAMT1%><%%NE%%>0.00\r%%><%FEETYPE1%>\r<%%ENDIF%%><%%IF <%FEECHECKNO1%><%%NE%%>%%> <%PMTTYPE1\r%>:<%FEECHECKNO1%>\r<%%ENDIF%%><%%IF <%POSTAGECOSTS%><%%NE%%>0.00%%>Postage/Delivery\r<%%END\rIF%%><%%IF <%PROMODISCOUNT%><%%NE%%>0.00%%>Discount<%%ENDIF%%> Can anyone shed any light on what might be causing this problem.

Re: Form.Fields[i].GetValue() problem

Support · Aug 10, 2006
Hello, Can you please send the original PDF document you are using to merge to our [^a|mailto:support@cete.com|Support Team^], so that they will try to create the same behavior at their end? Thanks, ceTe Software Support Team