Cant collect a link field with logic from CMS collection

So i want to make kind of a bulletin board with peoples info and display it after an event, this would include a link to their linkedin or so. Right now they have a form they fill in and then it turns it into a CMS item which is published on that page and displayed after refreshing.

One of the fields is the contact, and people are giving really huge links sometimes. I would like to display this simply on the page as “contact me” and make it clickable so it goes directly to their linkedin or instagram.

Logic however seems to not allow me to fetch a “link” field from a collection. It is instead asking me to write a link myself. How should i do this?

I am also having this exact issue and it’s driving me mad! There must be a solution?

@Simon_Fairhurst and @Mariabeta Logic has a lot of limitations but it handles plain text fields well.

The easy solution here is-

  • Create your Link field in the CMS as a plain text field
  • Do the same in your Form, you can use patterns etc if you want to validate the data
  • Write the logic to create / update the CMS item from the form

Then when using the CMS data, just use a custom element, tag a, attribute href and data-bind that to your CMS text field.