I have a few Text Inputs and TextBoxes and uploadButtons. So I want to verify to not insert empty data into collections. I made all the process manually, with no dataset attached. Only using wixData.insert(). So inputs and the submit button are not binded with anything.
I have the onClick() event where the “product” is created and I want to ABORT the event and send a Error message saying something like “No empty values allowed” or something like that.
By the way onCustomValidation doesn’t work for Empty fields.
Any idea?