What can I do with XForms that I can do with old HTML Forms?
XForms can do everything that HTML Forms can do, and then some. In particular XForms lets you: • Check data values while the user is typing them in. • Indicate that certain fields are required, and that the form cannot be submitted without them. • Submit forms data as XML. • Integrate with Web services, for instance by using SOAP and XML RPC. • Submit the same form to different servers (for instance a search string to different search engines). • Save and restore values to and from a file. • Use the result of a submit as input to a further form. • Get the initial data for a form from an external document. • Calculate submitted values from other values. • Constrain values in certain ways, such as requiring them to be in a certain range. • Build ‘shopping basket’ and ‘wizard’ style forms without needing to resort to scripting.