Hello,
I'm very new to this.
I have a dynamic page which pulls data from dataset A.
Also I have few text-input fields, which I submit with a button to another dataset, B.
Basically I want to know on which dynamically pulled item from dataset A, the user was at the time of submission.
Please point me out to where to look for.
Greatly appreciate.
Thanks, it worked, but...
I connected few input-fields to be submitted via interface.
Then I added the code you gave.
Result: I have two rows added to my Database.
Is there a way to make it so only one row gets added to the DB on mouse click?
Thanks anyway man, really helpful.
Yes, thanks, the current item.
I've seen this piece of code. But can't figure where to put it so when a user clicks a button, this value goes to another dataset's certain column.
Are trying to get the current item ??
#dynamicDataset - dynamic dataset
let currentItem = $w("#dynamicDataset").getCurrentItem();
https://www.wix.com/corvid/reference/wix-dataset/dynamicdataset/getcurrentitem