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

  • SEARCH
  • Home
  • 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 694939
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T02:54:29+00:00 2026-05-14T02:54:29+00:00

Need suggestions on implementing associating single or many objects to an entity. All soccer

  • 0

Need suggestions on implementing associating single or many objects to an entity.

  1. All soccer team players are registered individually (e.g. they are part of ‘players’ table)

  2. A soccer team has many players. The click sequence is like this:-
    a] Soccer team owner provides a name and brief description of the soccer team.
    b] Now it wants to add players to this team.
    c] You have the following button ‘Add players to team’ which lets you navigate to the ‘View Players’ page and lets you multi select users from there.

Assuming this is a paginated list of players, how do you handle the following:-

  • Do you provide a check box against each player and let the manager do a multi selection.
  • If you need to add more players, it doesn’t make sense to show the players who have been already added to the team. Do you mark those entries as not selectable or you would still show them but provide some other indication
  • If you need to filter, do you provide search filters at the top of this page.

Am looking for ideas on how to implement this or sites which have already done something similar.

  • 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. Editorial Team
    Editorial Team
    2026-05-14T02:54:30+00:00Added an answer on May 14, 2026 at 2:54 am

    I would have something that looks like the following:

         Players                     Roster
    +---------------+          +---------------+  
    |               |          |               |
    |               |          |               |
    |               |          |               |
    |               |          |               |
    +---------------+          +---------------+
    
    Filter: ---------
    

    With list elements in the Players list having (maybe) a picture, name, and other information about the Player.

    The Filter text box would allow the user to type a partial name and filter the list to make finding the desired player easier.

    Each element is draggable to the Roster column at which point the player would be added to the roster.

    I have intentionally left this platform agnostic since you didn’t mention if this was for a Desktop or Web app.

    Since this is for a web app, I would suggest making each player in the list its own seperate div, using jQuery Draggable to enable the drag/drop functionality, and using jQuery’s AJAX functionality for posting back to the server to make sure the player gets added to the roster.

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

Sidebar

Related Questions

I need your suggestions on how I should go about implementing an ever-increasing numbering
I need suggestions on how can I download attachments from my IMAP mails which
I need to draw some simple network topology charts, suggestions of some good tools
I need some asp.net pagination code samples. I would like suggestions on open source
I need to write a java application which can merge docx files. Any suggestions?
I'm just looking for suggestions on the best way to do this... I need
In regards to this: http://stackoverflow.uservoice.com/pages/general/suggestions/103227-parser-does-not-match-all-valid-urls is this regex adequate or will it need to
I need to create a mapping from objects of my own custom class (derived
I'm implementing a web application and on the serverside I need to keep track
I need a excel-like grid control in MFC, do anyone have good suggestion to

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.