It is possible to send the input results to a script associated with the web page by:
<form onsubmit="process()">
The function process can access the result of the input and perform the script based on this input.
What happens is outside the control of XHTML
Shopping Basket system may well check all the fields and redisplay form asking for confirmation
Note form can only be sent to one place