Counting strings entered into multiline textbox - InfoPath Dev
in

InfoPath Dev

Counting strings entered into multiline textbox

Last post 09-08-2016 08:49 AM by TOE_CHEESE. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 09-08-2016 08:49 AM

    Counting strings entered into multiline textbox

    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't calculate properly. Any ideas? Barcodes are scanned into a multiline textbox named "Files" A textbox named "Convtxt1" replaces the spaces between barcodes with an "&" = Convtxt1 = translate(../my:Files, "", "&") A textbox named "Convtxt2" runs another translate function = Convtxt2 = translate(../my:Convtxt1, "1234567890ABCDEFGHIJKLMNOPQRSTVWXYZabcdefghijklmnopqrstuvwxyz", "") My "Total" textbox function is set like this = Total = string-length(../my:Convtxt2) div "2" 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't correct. Any help is much appreciated.
Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.