Retrieve the items data that is clicked in a repeater

Hi @yisrael-wix

Thank you for sharing the above code for chajj, I was able to apply a part of it for a similar task I am trying on my website. I feel like I’m ALMOST able to accomplish what I hope to do, I just need help with a couple more things and am very much hoping you can help me :slight_smile:

Here is my scenario:

I have a regular page where I’ve built a custom form and a repeater to display dynamic content from my “Venues” database. The custom form button has been placed within the repeater. The custom form is meant to act as a “universal message” that can be sent to every venue a site visitor chooses to contact (through an on click event). I’ve been successful in connecting my custom form elements to my “Form” database wherein I can click a button within a particular repeater container and only that button is activated (using repeater selector type of code).

My dilemma now is figuring out how to input the venue name as a field value within my form database. Your code above has allowed me to set a user input text box element into my repeater and custom indicate that the text will show the custom name of the venue for the container in which it resides (i.e. if the input box is in the repeater container for “Venue X,” then the input box will show Venue X’s name). I’ve then connected this input box to be sent to the form database upon my button click event. All other form input elements, which reside outside of my repeater, are sent to the form database upon button click - however - my venue name (which resides within my repeater) is not being sent as well. Besides not being sent, it is also resetting after I click the button - all the venue names for every repeater is being reset (not just the name in the container I happen to be clicking on).

Do you know what I can do to also have the venue name sent to the form database, along with the other form input elements? I’ve been trying to figure this out for a really long time and I feel like I’ve ALMOST got it, I just can’t figure out how to send the venue name as well. Yesrael (or anyone who has an answer), I would be tremendously grateful for any assistance, thank you!!!