Hello - I was wondering if there was any reason why an input mask does not apply for a calculated text question that is set to readonly?
We are trying to use keyboard wedge software to pass PIT tag info into S123. Sometimes the info passed on isn't formatted properly (has more info than needed), so we have a readonly field that grabs the last 14 characters (the actual PIT tag).
This is our first year using S123, but many techs experienced issues with transient lower case characters in the PIT tags. This causes the pulldata functions to not work as it's case sensitive. While we're fairly confident it's because the techs left the caps lock key on, we figured we would try to force the entry to be upper case only and solve the issue entirely.
Turned out to not be so simple. Because the pull data function happens in real-time, we cannot use Excel to change the case of the characters after the data is submitted and I couldn't get the UPPER function to work in the XLSForm. The input mask of >xxxxxxxxxxxxxx should work, but it (apparently) can't be applied to readonly questions and if we don't apply it to the "clipped" field then the length of the input from the PIT tag reader could vary depending on the keyboard wedge software and settings being used.
So, other than using a large amount of x's in the input mask field, is there another elegant/simple way of doing this? I have a working javascript, but it requires the addition of a calculated field and while that's doable I'd rather avoid it.
I have the form attached with the two workable options (javascript and lots of x's, respectively) in the PITtag questions (rows 28-32). I've also attached the javascript. Hoping I missed something obvious.
Thanks for any input! Lea