Edited: Apr 10
Hi guys. I can't connect the ID field of my database to the Input. Any idea what the problem is?
HI, givemeawhisky. Thanks for the answer, but it does not solve my problem. The first link you sent me says "Input boxes can connect to text and number fields." As you can see in my screenshot, the ID field is of type “Text”, but I cannot connect it. That's my problem.
@Andrew Kov You can't connect the ID field to a user input box, even if the dataset is set to "Read Only" (needless to say that you can't rewrite an ID, as this field is created internally by WIX).
If you want the input box to display to ID, you shoudl push it by code:
$w("#input2").value = item.id;
Where item.id is the ID you retrieved using collection query.
@J. D. Hi. Thanks for the help. I'm not a coder, but I'm trying. I tried to do something with the code you gave me, but it does not work for me. Please can you give me a little more detailed instructions.
https://support.wix.com/en/article/working-with-user-input-elements-9560341 best answer!