Data Validation - Numbers
Hello,
I was wondering if it is possible to validate a Text Input or Number Input Box to ensure it is a multiple of a given number?
So for example, I want to allow a user to enter multiples of 5 only -
5, 10, 15, 20...
But I don't want them to be able to enter;
2, 3, 11, 27...
Program: BarTender Designer 2022 R4
License: Professional Edition
Version: 11.3/190734 (64-bit)
Thanks,
John
-
Not easily! Although there maybe a way round it
1. Do they have to enter a multiple of 5 or could the number they entered just be rounded up to the next 5 automatically?
2. Is there a maximum number they can enter?
3. What is the number used for, is it the label quantity?
0 -
1. I don't think rounding would work as I need it to match exactly how many items they have picked (I want them to pick multiples of X).
I don't want them to pick 3 items, enter 3 into the print station and get 5 labels.
It is not a 1st stage validation but more a backup reminder for the operator.
2. Practically 200 items or so.
3. I will need one label for every two items picked. So the number picked (X) is divided by 2 to get quantity of labels.
0 -
With Professional the only thing I can think of is make the label quantity 0 if the number entered is not divisible by 5. You could add a large text warning on the Data Entry Form that that will happen if they do not enter a number divisible by 5 and then if they do proceed the print process will cancel and an error message will be displayed
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
3 Kommentare