Streaming live at 10am (PST)

Use collection value as URL parameter


#1

Does anyone know if it is possible to add a parameter from a collection to a URL/Link?

My scenario is that I have a collection page and on that page I have a contact us link (to a contact form). I want to be able to pass that collection page (in this case the child's name from the collection) to the contact for to auto-fill a value on that form.

Specific Page (any child page): http://www.ndheartgallery.org/children/melissa-17-cherish-13 (Inquire about button)
Contact Us Page: http://www.ndheartgallery.org/contact-us

Share link: https://preview.webflow.com/preview/nd-heart-gallery?preview=391dcc9cdfaacd82261d1038f69a9edf

Thanks!


#2

Yes, should be possible using custom code.

Here is a related question https://forum.webflow.com/t/passing-collection-name-to-form-field/37474?u=samliew