But once you
have added the forms and grammar for them, we can go ahead and confirm the
order details with the customer, and submit the order to the server for further
processing. Shall we jump on to that now?
Confirming and Submitting an Order
Once we have got all the order details, we would like to confirm them with the
customer before we place the order. This is important because we want to eliminate
problems of bad speech recognition. After confirmation, we would send it to our web
server. The order should be saved and added to our normal order queue.
Time for Action: Confirming and Submitting
an Order
1. The first thing we want to do is to repeat what options the customer has
chosen, and ask her or him to confirm them. The following code shows the
confirmOrder form that we need to add right after the quantity selection
form is complete.