duderuud Well-known member Mar 1, 2021 #1 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
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
P Paul B XenForo moderator Staff member Mar 2, 2021 #2 The default custom fields for those use the built in validators. Have you changed that? Upvote 0 Downvote
duderuud Well-known member Mar 2, 2021 #3 I tried validator (Facebook) but that didn't work. Not sure if I changed that, could be. Upvote 0 Downvote
P Paul B XenForo moderator Staff member Mar 2, 2021 #4 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. Upvote 0 Downvote
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.