Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 180697
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T14:37:55+00:00 2026-05-11T14:37:55+00:00

Assuming of course we’re working with HTML Forms and GET/POST data, backend language agnostic.

  • 0

Assuming of course we’re working with HTML Forms and GET/POST data, backend language agnostic. Asker is most fluent with PHP and Python.

Example: Tracking event attendance, there is an HTML page for the event administration that lists all available People. There is a column next to each name with a graphic/widget representing their attendance for the event. What’s the best way to update the Attendance status for a Person on the list?

One method I initially thought of was simply to use a Checkbox for attendance. However, unchecked boxes aren’t sent along with form data. The underlying logic would have to toggle the Attendance status to FALSE/OFF/Not Attending for any Person ID not sent along with the form. This breaks if the list is paginated!

The second method I thought about was using a graphic/button next to each name. Is it appropriate that each button be a submit button? As in: Is is allowed that a form element have multiple submit buttons? Or should each button/Person be wrapped in it’s own form element?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T14:37:56+00:00Added an answer on May 11, 2026 at 2:37 pm

    A fairly simple fix is to go with your checkbox method, but add a couple of hidden form elements that store values for the minimum/maximum values that are going to be submitted. That way your logic can handle ‘missing’ checkboxes as ‘off’ without breaking everyone that isn’t on the page.

    I don’t recommend having multiple submit elements in a single form. If you want to go another direction, you could look into having a link (textual/graphic/button) on each row that uses ajax to toggle the attendance for that row’s person. That way nothing ever has to be explicitly ‘submitted’ by the user. As they toggle on the interface, updates happen in the background.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 91k
  • Answers 91k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer When passing objects back & forth in a webservice, it's… May 11, 2026 at 6:13 pm
  • Editorial Team
    Editorial Team added an answer The default renderer for a cell table is a JLabel.… May 11, 2026 at 6:13 pm
  • Editorial Team
    Editorial Team added an answer Are you happy to just compile the expression and run… May 11, 2026 at 6:13 pm

Related Questions

Assuming of course we're working with HTML Forms and GET/POST data, backend language agnostic.
I use VS2008 at home and love it, while approaching work about upgrading 2005
For intense number-crunching i'm considering using fixed point instead of floating point. Of course
The background I'm building a fair-sized web application with a friend in my own
For those who are not aware, Lotus Notes is a cool system, which has

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.