@info84338 Please read my last post again! And again! And again and take a look onto your CODE here…
I need to make the inputs mandatory. Since currently when they click it is sent to the database without filling the input.
if(inputs.every(e=>e.valid)){
wixLocation.to("/thks-page");}
else {$w("#error").show();}
wixData.insert("soporte", toInsert)
.then(()=>{ })
.catch((err)=>{let errorMsg = err; console.log(errorMsg), $w("#error").show();});
}