NEW: Size input fields

Version 2020/10

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.

Standard

Code

// file: hooks/TABLENAME-dv.js
var dv = AppGiniHelper.DV;
dv.getField("postalcode").size(80);

Modified

Parameters

Size in Pixels

Argument is a number.

dv.getField("fieldname").size(80);

Size in % (percent)

Argument is a string.

dv.getField("fieldname").size("25%");

Do you like it?