<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Counting strings entered into multiline textbox</title><link>https://www.infopathdev.com:443/forums/thread/107892.aspx</link><pubDate>Thu, 08 Sep 2016 15:49:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107892</guid><dc:creator>TOE_CHEESE</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107892.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=107892</wfw:commentRss><description>Team,

I am using translate functions to count the number of separate strings scanned into a multiline textbox.  It works perfectly in a web browser form.  However, when I switch to a filler form it doesn&amp;#39;t calculate properly.  Any ideas?

Barcodes are scanned into a multiline textbox named &amp;quot;Files&amp;quot;
A textbox named &amp;quot;Convtxt1&amp;quot; replaces the spaces between barcodes with an &amp;quot;&amp;amp;&amp;quot;   = Convtxt1 = translate(../my:Files, &amp;quot;&amp;quot;, &amp;quot;&amp;amp;&amp;quot;)
A textbox named &amp;quot;Convtxt2&amp;quot; runs another translate function  = Convtxt2 = translate(../my:Convtxt1, &amp;quot;1234567890ABCDEFGHIJKLMNOPQRSTVWXYZabcdefghijklmnopqrstuvwxyz&amp;quot;, &amp;quot;&amp;quot;)
My &amp;quot;Total&amp;quot; textbox function is set like this  = Total = string-length(../my:Convtxt2) div &amp;quot;2&amp;quot;

As I stated these formulas all work in harmony when used in a web form however when I switch the form type to a filler form, the counts aren&amp;#39;t correct.

Any help is much appreciated.</description></item></channel></rss>