$w.onReady(()=> {
$w("#dataset11").onReady(()=> {
const name = $w('#dynamicDataset').getCurrentItem().title;
console.log("Name: ",name);
$w("#repeater1").onItemReady(($i,iData,index) => {
});
$w("#repeater1").forEachItem(($i,iData,index) => {
$i("#text132").text.replace(/(Student's Name)/g, name);
$i("#text132").text.replace("story", "elephant");
console.log("replacement text is",$i("#text132").text);
});
});
});
Already tried like this one…?
And still the question → is your dynamic-dataset already ready at this point ?