Hey all,
is it possible to set the max property of a number field via JS?
Tried setting it in fd.spRendered via fd.field('test').max = 5; but that didn't work.
Hey all,
is it possible to set the max property of a number field via JS?
Tried setting it in fd.spRendered via fd.field('test').max = 5; but that didn't work.
Hello @JonHebbe,
You need to use the code below to set the maximum value:
fd.spRendered(function() {
fd.field('FieldName').widgetOptions = {
max: 5
}
});
Thank you very much again for your fast and reliable help - it works!