For any Salesforce Element added to a Forms page, the maximum length of the value that a visitor can enter into the field is defined directly in Salesforce. Whatever maximum length is set for the Salesforce field is enforced by Forms.
If you wish to alter the maximum length for a Forms page, go to your Salesforce instance and adjust the maximum length of the field it refers to.