Created attachment 921721 [details]
Screenshot showing the problem
Description of problem:
For some field types there is a "size" property in the field properties window.
The size property determines width of input element in the browser (in characters).
However in form modeler the "size" property also accepts non-numeric input - but it should only accept numbers.
The problem is that in forms which represent field properties of each filed type, the "size" field has type="InputText" (unlike for example "maxlenght" field, which correctly uses field of type="InputTextLong", which does not accept non-numbers).
Plase use type="InputTextLong" also for "size" field in the forms for each field type.
Version-Release number of selected component (if applicable):
BPMS 6.1.0 DR1
and run this to see all the Field property forms which are affected:
cat *.form | grep "<field " | grep name="size"
Changed property type.
Commit (master): https://github.com/droolsjbpm/jbpm-form-modeler/commit/f2794caf6d9aa2181561f2f66e0925b54cc30555
Ok, now the size field rejects non integer values. Verified with BPM Suite 6.2.0 DR1.