I have a collection that I want to add and update items from user input on a page in the members area. I have defined a read-write dataset and a write-only dataset, and connected the user inputs to the read-write dataset. I am hoping that a little code can switch the user inputs to the write-only dataset if it is discovered that there is no collection item for the logged in member. I have no experience coding, so if you have a solution please include the whole page of code so I can copy and paste. For your code example, please call my collection “collection1” and my fields “field1” & “field2” or something similar, and I should be able to replace them with the actual names. I imagine this is a very common scenario, so I’m surprised that I haven’t found any examples yet, and Thanks in Advance! Katie
Hi Katie,
See the tutorial How to Build Your Own Members Area Using Code . This should give you a good start.
Good luck,
Yisrael
Thank you Yisrael. It is working well now!