Klaus wrote: > How can I show a system dialog to the user in that case? > I'm afraid I'm not too familiar with html/Javascript and I need > to inform the user to fill all neccessary field in a webform if > he/she didn't.
Good news: web tech has grown up a lot over the years. Much of what used to require JavaScript is now handled more easily in CSS and HTML. In recent HTML versions, a form's input element has a lot more attributes than in the olden days: https://www.w3schools.com/tags/tag_input.asp The one you're looking for here is the "required" attribute - you can explore how it prevents form submission unless a field is filled in here: https://www.w3schools.com/tags/att_input_required.asp If a field requires a specific pattern to the input data, you can use Regex to define that in the input element's "pattern" attribute: https://www.w3schools.com/tags/att_input_pattern.asp If you're looking to brush up on newer HTML and CSS features, Kevin Powell's channel is among my faves, worth watching a least a few of his vids to see how things on the web have been evolving lately: https://www.youtube.com/@KevinPowell/videos -- Richard Gaskin FourthWorld.com _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode