Thanks Yisrael! At the end I did this and its working!
$w.onReady( function () {
$w(‘#dynamicDataset’).onBeforeSave(() => {
if (!($w(‘#input16’).valid) && $w(“#uploadButton1”).value.length > 0) {
let validationMessage = ‘’;
if (!$w(‘#input16’).valid)
validationMessage += ‘Please enter the profile image and all the required information\n’;
$w('#validationMessages').text = validationMessage;
$w('#validationMessages').expand();
}
else
$w(‘#validationMessages’).collapse();
});
});
I created another question on the forum, I wonder if you could help me that well there too… :)))
Thank you very much!!!