February 4 in Technical Problems
I am currently in the process of developing custom profile field to store members' Facebook profile and Facebook group links information. While the implementation of these fields is straightforward, I am trying to enforce a restriction wherein only specific URL leading to Facebook is accepted by the field.
I'm wondering if there's a way to automatically fix entries when a member only puts in a Facebook handle without the full URL. I want it to add the necessary parts to create a proper link. Whether it's a exact link like www.facebook.com/username or https://www.facebook.com/groups/groupname/ just the handle "username" or "groupname" I require it to transform into the correct link like www.facebook.com/username or https://www.facebook.com/groups/groupname.
No, it's not possible to make the field automatically fix the inserted value. You'd need a custom modification for that.
I think it would be easier to simply enforce the full URLs and show an error that mentions the correct format if the regex returns an error.
Started January 23
Started December 3, 2022
Started 7 hours ago