Hello everyone,
I’m trying to build a publically visible wishlist function allowing members to create a wishlist of product (recorded into my created Wishlist dataset) that can then be shared to family and friends as a dynamic page.
I have a working version at the moment but the experience is poor. Currently on the Wishlist creation page I have a product repeater (and filters etc) and a series of user input fields - the user has to find the products they want via the repeater and then manually enter their names into the respective input field. Like I say, not ideal.
I want to add a button to my repeater/item, so that when a user clicks on this, the Title of the respective item is then written into the User Input field. I currently have a max of 15 fields (products that can be added per public Wishlist) and was going to use something like if field 1 is not blank write it to field 2 etc etc.
Does anyone have any ideas of how to go about getting this onclick function to work whereby it collect the item title and writes it to a user input field? I’ve made a start but currently I’m just getting undefined values when trying to write to any kind of element, so I think the way I’m collecting the item title is probably incorrect, but as I’m very new to this I could well have started off on the wrong foot too…
Any ideas?
Thanks in advance