Hi,
I am not really familiar with coding.
However, I need to save the current date to a user data set.
So when a user clicks the submit button, to save user input, the date and time of submission gets saved to my dataset.
current code;
export function submitbutton1_click_1(event) {$w(‘#dataset4’).save()
.then(() => {
$w(‘#html1’).show(“fade”, fadeOptions);
$w(‘#dropdown1’).hide();
$w(‘#uploadButton1’).hide();
$w(‘#textBox1’).hide();
$w(‘#submitbutton1’).hide();
})
. catch ((err) => {
let errMsg = err;
console.log(errMsg);
});
}