Showing posts with label Reader Request. Show all posts
Showing posts with label Reader Request. Show all posts

Reader Request - Submit While Using Tabs

I've always wanted to do something like this: "Reader's Requests."  Well, there was a question posted on the "Welcome, Make Yourself at Home" post from Jason (see, now I imagine reading this with my awful Casey Casum impression):

I was wondering how you handle submitting when using a tabbed iform. (one HTML page with multiple tabs via JavaScript)

Example: (abominal pain)
Tab 1 - Lower abd pain - has 3 prechecked selections
tab 2 - Upper abd pain - has 4 prechecked selections.

When you submit, how do you submit the orders on one tab without the orders on the other tab also being submitted?

-Jason

This is an excellent question: as it's phrased, it can't be done; you can't submit some of the items in a web form. However, there are ways to work around these limitations. Let's take a look at a few of them to see what the pro's and con's are.