Mobile Website Multiple Forms
In chapter 25, the book says that multiple forms placed onto a single web page are rendered as a single page to the client device, so that switching between forms does not result in round-trips to the server. I created a website with a single page with multiple forms. When I test the site - the rendered code does not have all forms - it is one form only - therefore, switching between forms does result in a server round-trip.
Is the book wrong, or am I doing something wrong? I've tested on a mobile phone and in a local web browser. In the web browser (FireFox), I used both the default settings and I also switched the user-agent to make FireFox appear like a web-enabled mobile phone. In both cases, the source code sent to the browser contained only one form from the page.
Any thoughts?
Thanks,
-Chris
|