/** * set the maxlength for this field (only valid for certain field types). * This method is only supported on scripted fields via the UI Object API * * @param {int} maxlength maximum length for this field * @return {nlobjField} * * @since 2008.2 */