Control scanned field contents
I have a cfform form for a blood product unit number. Staff usually scan the bar code into this field, but I want some of the content to be stripped.
Embedded in the bar code are start and stop characters. The start is always =. Then the next 13 characters are the only ones I want, there is also a chack digit that is embedded at the end, but again, I only want the 13 characters after the =.
Also I want to make sure that what is submitted is exactly 13 characters and the first submitted character will always be a W.
Is this possible?
Thank you
