Streaming live at 10am (PST)

Form in a collection to automatically send the name of the collection item as well as user data

I have a form on a collection page that is sending through via a zap to a spreadsheet for data collection. But because it is on a collection page I would like the form to detail which item in the collection the form was submitted from.

Any one got any ideas how I can do this?


Here is my public share link: LINK
(how to access public share link)

You can add an Embed element within your form on the Collection Template Page:

<script>
  <input type="hidden" name="_INSERT_FIELD_NAME_" value="_INSERT_FIELD_VALUE_">
</script>

Replace _INSERT_FIELD_NAME_ with the field name in your Collection Item.

Replace _INSERT_FIELD_VALUE_ with the :point_up_2: above field value by dynamically inserting from the “field” link within the Embed element.

Thanks Chris!

I will give this a go now.

1 Like

Thanks Chris, worked like a charm. I completely missed that “add field” button in the top right of custom code too. That thing is a game changer!

Have a lovely day!

1 Like