I'm using the insert function for an onClick event to inset the information with code. But I want to submit the information with the input validation.
top of page
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
bottom of page
Then you should set required on the fields and also when all fields are done or when the SAVE button is clicked you do the below for all fields.
let isValid = $w("#myElement").valid; // false or true