Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jul 2002
    Posts
    436
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Checkboxes and Forms

    I have X forms in a page.

    Next to each form, I have a checkbox (not assigned to any forum...).
    I want some how to submit the values of those un-assigned checkbox to a page...

    The problem is that I can't wrap everything with one form tag because it'll mess up all of the X forms.

    I think I didn't make it clear enough, so i'll give an example:
    In free-email providers (hotmail,yahoo) you have an option in the Inbox, to select all the messages and to do some action on them (mark as read, delete, etc) - in that case, we have one form!

    In MY case, I have an option to edit those messages names (input type=text), so each message is a form by itself.
    How, in my case, can I keep the checkboxes (in order to later allow to delete selected)?

    Thanks for help...

  • #2
    Senior Coder
    Join Date
    Aug 2002
    Posts
    3,467
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You shouldn't have that many forms, that list should be one form. Whomever is doing your server-side programming dropped the ball here.
    My Site | fValidate | My Brainbench | MSDN | Gecko | xBrowser DOM | PHP | Ars | PVP
    “Minds are like parachutes. They don't work unless they are open”
    “Maturity is simply knowing when to not be immature”

  • #3
    Regular Coder
    Join Date
    Jul 2002
    Posts
    436
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Each form suppose to update 1 message.
    I have 50 messages in page and I can't update all of them in one time. So I made a form for each of the messages.
    Any idea for my question?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •