Saving a website URL link to the database

I have a form where users uploads their logos (using an Image uploader), and enter their website URL in a text input.

I want to show those logos on a page, and when the user clicks on it, it should take you to the website corresponding to that logo.

How do i save the URL in the database? should i use a regular text field type?

If so, how would i tell bubble to take me to this URL when clicked on its logo image?

You would use a regular text field to save the URL. As far as clicking on the Image to make the URL open, you can do a couple things:

  • Use a “navigate” action when the user clicks on the image. Use an external link, and use the dynamic data field to use the Thing’s URL text as the link. This won’t allow you to open in a new tab, though, and isn’t recommended for SEO purposes (I think I read that on here somewhere)
  • Put a link element over the image, covering the whole thing. Set it to external, use the dynamic data field to point to the Thing’s URL. Just remember to delete the placeholder text in the link, and to make sure the link and image are grouped together, with the link on top.
1 Like

but i dont want to see the link element, i want to see the logo

Yeah, that’s why I mentioned to delete the content of the link. It’ll be invisible to the end user, but will trigger the click.

This topic was automatically closed after 70 days. New replies are no longer allowed.