Plumsail 1.8.7 SP 2019 - set Max Property of number field via JS?

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
1 Like

Thank you very much again for your fast and reliable help - it works!