Hi,
If you are specifically trying to dynamically adjust the maximum number of characters for a text field, you can do it with this code for example:
$('#textField').attr('maxLength', '20');
Otherwise, you can gain access to the properties object of an item with:
Form.getItemFromPath("data.textField").properties
Thanks Bill. I will try that.
Hi Team,
In Maestro there's an API method for getting the property of an item (getItemProperty), is there any method for setting a property?
In my scenario I want to limit the the number of characters to 'a' if 'x' is selected or limit number of characters to 'b' if 'y' is selected. Can this be achieved?
Warm Regards,
Aman