Hi all,
I am having a projectassign page,in that page i am having a dropdown box in which names of the projects are present.I am getting that project names from database. Below that list of users with checkbox are present.
So i can select a project from dropdown and check two users and click submit button,those two users will be assigned to that project.
Every this till this is fine.
Here is my question.Now when i select the same project from dropdown then it should show the two users as checked.and remaining users as unchecked. So anyone can help me please....
niths
-1
Posting Whiz in Training
Recommended Answers
Jump to PostWell, you are somehow assigning the two (or whatever you selected) users to the project right? Now, the only thing you should do is (when you are retrieving the user list in order to build the list of checkboxes), check wheather a user is assigned to a project allready, and …
Jump to PostYou mean you want to update the list as soon as another project is selected?
If so, you have 2 options: Either you (automatically if you don't want to have a confirmation button) submit a forum when the dropdown list is changed or you make a AJAX request (which …
Jump to PostI just said that. But I don't understand what you still need. You already have a list of users and projects in your database, so you can make the checkboxes checked/unchecked like I said in the first post. The only thing you need to do is refresh the page when …
All 10 Replies
Lapixx
2
Junior Poster in Training
niths
-1
Posting Whiz in Training
Lapixx
2
Junior Poster in Training
niths
-1
Posting Whiz in Training
Lapixx
2
Junior Poster in Training
niths
-1
Posting Whiz in Training
Lapixx
2
Junior Poster in Training
niths
-1
Posting Whiz in Training
storm123
0
Newbie Poster
niths
-1
Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.