daniellachev
New Coder
I am creating a virtual business card where people can add their information and create a page with their social media links. I am almost done but I need help coding this:
When a user goes to the update profile page they are presented with a bunch of option for example an Instagram username text input or a Facebook username text input etc. I want to make it so when a person writes their social media username it is then send to the dataset hook where a prefix is added depending on which user text input was used. Then the link that has been created in the hook goes to the dataset where it is stored as a url.
Example: I write my username in the Instagram box - daniel_lachev and I click submit. The hook sees that and adds a prefix - (theInstagramUrldotcom/) to the username and the whole url is then send to the dataset collection - theInstagramUrldotcom/daniel_lachev.
Can someone help me with this task please?
When a user goes to the update profile page they are presented with a bunch of option for example an Instagram username text input or a Facebook username text input etc. I want to make it so when a person writes their social media username it is then send to the dataset hook where a prefix is added depending on which user text input was used. Then the link that has been created in the hook goes to the dataset where it is stored as a url.
Example: I write my username in the Instagram box - daniel_lachev and I click submit. The hook sees that and adds a prefix - (theInstagramUrldotcom/) to the username and the whole url is then send to the dataset collection - theInstagramUrldotcom/daniel_lachev.
Can someone help me with this task please?