Link button to an anchor on dynamic page

Hi,
I have set up a repeater with connected datasets and databases, and each entry in the repeater is also connected to a dynamic page, which is working out nicely. However, on the dynamic page, I have added a button at the top which I want to connect to a form further down on the same page. But when I try to link the button to an anchor, it says that there are not items and I cannot connect the button to the anchor. I have tried to add content to the database, but this does not help. The form works and can be submitted, but the anchor link does not.

Is there a way to solve this without code?
Thanks!
Maria

https://support.wix.com/en/article/request-linking-elements-to-a-dynamic-page-eg-blog-post-or-product-page-on-your-site
https://support.wix.com/en/article/linking-to-a-dynamic-page
https://www.wix.com/corvid/forum/community-discussion/linking-up-anchors-in-a-dynamic-page
https://www.wix.com/corvid/forum/community-discussion/help-with-linking-to-a-dynamic-pages-anchor
https://www.wix.com/corvid/forum/community-discussion/wix-location-to-an-internal-anchor-dynamic-pages

Thanks. I looked at those threads earlier, but now managed to get some help from a friend to code it