MΓ³dulo 10 Β· Bookings & Forms β LecciΓ³n 2 de 4 Β· ~11 min
Validate, then POST
What Confirm booking actually does
The Confirm button calls a local submit() function, not the view model directly. submit() has one job before it ever touches the network: validate client-side first, so a bad input never becomes a wasted round trip.