MyBB Community Forums

Full Version: [F] Custom Profile Field Required Bug
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I made a custom profile field, that is required and is asked for during registration. It asks the user what his relationship is to another member of the board (this is a closed board for my family for me to test the beta) so I created it to only allow family members. I used a text area with the maximum limit of 500. When I input anything into it, it tells me that the value I entered was invalid.
I added a picture as an attachment.
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.
Cool, that was pretty quick. Can I get the fix?
Open jscripts/validator.js

Find
			case "text":
			case "password":
			case "hidden":
				return element.value;
				break;
Replace with
			case "text":
			case "password":
			case "hidden":
			case "textarea":
				return element.value;
				break;