I'm trying to set a maxlength on a text input field based on this post but no joy.
try adding .length after value