Hi, I built a repeater and connected to the dataset. I set the “Price” field to be an number in the database. How can I add “$” to the text items befoe getting the price from dataset?
Hi, Terry Lau
Try so for output
$w(“#testname2”).value = “$” + $w(“#textitems”).text
Now you have a price in the database of the type number. If you want to save the number with “$” in the database, you need to create a new text type field