×
Menu
Index

1.2.3.3.3. Input validation

Once you have created your class with all its properties, you may want to allow users only certain inputs into these fields. The system allows you to validate their input against various parameters that you can set beforehand.
To do so click on the property under the class list that you wish to define.
For example on your Serial no, you might want to limit the input on the max length field to 10 characters and a min length of 8. And in this case, you are also allowing any characters if you leave the illegal characters empty.
 
Checking the shared check box will ensure that all serial components share the same value for this field. So if a user updates the serial on one electric motor, then all electric motors will have the exact same serial no.
This could be useful if you created various types such as Electric motors all motors with same part type will have the same voltage for example. You would only have to type in these values for one of the motors in each category and all motors would be updated. Properties that are NOT shared, will allow each item to have its own value for that property.
 
 
If you would like the user to select only exact items from a pre-defined list, you can check the Picklist box and enter values in the Picklist Values area. After each entry, press the enter key to go to the next line and enter the next item.