FormsLesson 119Free preview
Checkout Form
This lesson is part of How To · All levels
Summary
A checkout form is a form containing a billing address, delivery address, and payment method. Forms like this are usually divided into several sections with a fieldset to avoid confusion. Order summaries on the other hand help users check the total before completing the transaction.
Key points
- Fieldsets and legends group fields into logical parts.
- The autocomplete attribute speeds up the filing of payment addresses and data.
- The transaction form must be sent via HTTPS using the POST method.
- Order summaries help users verify items and totals.
- Sensitive card data should not be stored alone; use a trusted payment provider.
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.