How to validate custom profile fields.
I’m taking both a facebook and twitter url from my users so I can create links so I need to validate the url’s they submit. I found a nice little function to help me do that.
return ‘not a valid link';
My question is how I can use this to check the url during profile edit and registration? I moved the bp template files to my child theme and started fooling around with the edit template under profiles but couldn’t really get anywhere. Any ideas on the best way to do this?
- The topic ‘How to validate custom profile fields.’ is closed to new replies.