XF 2.2 Validate custom user fields

duderuud

Well-known member
I'm struggling with Facebook and Twitter custom user fields.

Is there a way to validate and correct user input?

For example:
www.facebook.com/userid or Facebook.com/userid should be validated and corrected to https://facebook.com/userid
 
Are you wanting the value in the field after saving to be the full URL rather than just the ID?

If so, you would need to custom code a new validator.
 
Top Bottom