Hello @gerikg
If you want to modify the “MAX” attribute dynamically, you must do it by programming.
For example, assuming the number field is the fieldname123, and you want to modify its MAX attribute’s value as fieldname11-1
1. Insert a calculated field in the form as an auxiliary (you can configure it as hidden by ticking a checkbox in its settings).
2. Enter the following equation in the settings of the calculated field:
getField(123).jQueryRef().find('input').attr('max', fieldname11-1);
The getField operation receives the numeric part of the field name as its parameter and returns the object representation of the field.
Best regards.