By default, input fields expand to 100% of the available width. Using the new size function we adjust the width for example for (short) numbers.
// file: hooks/TABLENAME-dv.js var dv = AppGiniHelper.DV; dv.getField("postalcode").size(80);
Size in Pixels
Argument is a number.
Size in % (percent)
Argument is a string.
Do you like it?
We can only get better if you give us constructive suggestions for improvement. Just voting "No" without giving reasons or suggestions is not helpful and will not lead to any changes. If you have been searching for a completely different solution than the subject says, this article can not be and will not be helpful for you. In these cases you should consider not to vote.