Validation

The BookingForm you submit to create an Order must be complete and valid. You can check the validity of the form (though some validations will only be checked at the time of order creation and you must handle the error properly)

let errors: [BookingFormError] = bookingForm.validate()

Last updated