I have an item that I have saved to a collection…the object after save looks like this:
I can access most of the fields using simple code like this:
linkToPost = item.hours;
console.log("WORKING")
console.log(linkToPost)
…and it prints “HOURS HERE” to the console as you’d expect.
How can I get access to the string in the auto-generated dynamic collection fields - like “link-jobpage-1-title” in this example? The same approach doesn’t work…presumably because of the use of hyphens. Is there a way to achieve this…I need to create a URL from this info (that needs to be popped into an email), which I can do if I can get it in a variable first.
Thanks,
Simon.