I’m relatively new to Corvid and would like to know if there is any way to use database fields in a sentence. For example;
Interested in going to ? Let me know!
would be a database field.
Thanks!
I’m relatively new to Corvid and would like to know if there is any way to use database fields in a sentence. For example;
Interested in going to ? Let me know!
would be a database field.
Thanks!
Yes. It depends on what you use wixData or Dataset
https://www.wix.com/corvid/reference/wix-dataset.Dataset.html#getCurrentItem
// For example Dataset:
$w.onReady( () => {
$w("#myDataset").onReady(() => {
let itemObj = $w("#myDataset").getCurrentItem();
let destination = itemObj.destination;
$w('#yourTextElementHere').text = `Interested in going to ${destination} Let me know!`
});
});