I have the random number generator as a textbox. i can’t be a ble to make it save the random number into the database using the dataset. The submit button(button1) is connected to the database with studentdetails dataset. This is the code
export function button1_click(event) { $w(" #text3 ").text = (Math.floor((Math.random() * 20) + 1)).toString(); }
Any help will be appreciated.