Jump to content

Multiple forms, one submit


KittyKate

Recommended Posts

Alright, here is the setup:

I have a page that lists a bunch of books. I want to be able to edit none, one, or many of the book titles at my choice (individual edit buttons on each book triggers a javascipt that generates a form with that book's information already entered). I want to be able to reset the information for an individual book, but submit everything at the same time. Is it possible?

My original idea (to help illustrate the notition) doesn't work. I didn't really expect it to, but it was a thought:

[code]<html>
<body>
<form name='an' id='ai' action="form_test.php" method="get">
<input type='text' name='bn' id='bi'>
<br>
<form name='cn' id='ci'>
<input type='text' name='dn' id='di'>
<input type='reset' value='reset'>
</form>
<br>
<form name='en' id='ei'>
<input type='text' name='fn' id='fi'>
<input type='reset' value='reset'>
</form>
<br>
<input type='submit' value='submit'>
</form>
</body>
</html>[/code]

Any thoughts?
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.