© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
A. LibbyPractical Sveltehttps://doi.org/10.1007/978-1-4842-7374-6_6

6. Binding Elements

Alex Libby1  
(1)
BELPER, UK
 

A question – how many times have you filled out a form online, only for it to tell you that you can’t submit it as there is a problem with a value, but you don’t know what format that value should take? Sounds familiar, right?

Form filling is an essential part of using any website, particularly an ecommerce one; the exercise is only as good as the validation rules applied to the form. Svelte makes creating forms easy – after all, most of the code required is just plain HTML markup! Constructing forms (using binding principles) is just a tiny part ...

Get Practical Svelte: Create Performant Applications with the Svelte Component Framework now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.