Stump the Panel: SharePoint Q&A

Immediate solutions for common SharePoint questions
It is currently Fri May 24, 2013 10:13 pm

All times are UTC - 5 hours [ DST ]


Forum rules


What you are viewing is an archive of Stump the Panel. It remains for reference purposes. Please post all new questions on NothingButSharePoint.com
https://www.nothingbutsharepoint.com/sites/eusp/Forum



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: Select All Yes/No fields
PostPosted: Thu Mar 24, 2011 12:15 pm 
Offline

Joined: Mon Jan 04, 2010 4:07 pm
Posts: 92
Is there a way to crete a select all function for Yes/No fields. I dont want all the yes/No's to be selected, but i do want all related to a specific group. Using countries as an example. Only specific countries belong to specific regions. So if I want to select all countries for a single region can this be done. I know there are already avaiable select all for multiple select fields, but I need to report out on the individual countries. so each country must have it's own field.

I was thinking about something along the lines of check the name of the fields to select/unselect, but I can get a click function to grab the specific fields I need.

Any suggestions?


Top
 Profile  
 
 Post subject: Re: Select All Yes/No fields
PostPosted: Thu Mar 24, 2011 12:37 pm 
Offline
User avatar

Joined: Sat Jan 02, 2010 6:02 pm
Posts: 1035
Location: Silver Spring, MD
If I understand you right, you really want a "Select All" checkbox per Region. When that's selected all of the Countries within that Region would be "selected". Does that sound about right?


Top
 Profile  
 
 Post subject: Re: Select All Yes/No fields
PostPosted: Thu Mar 24, 2011 12:46 pm 
Offline
User avatar

Joined: Mon Jan 04, 2010 12:35 pm
Posts: 364
Yes, it's possible with jQuery, but it has to be very aware of which group the Yes/No is in.

I've just done something similar for a Mileage Reimbursement project. A Director sees all of the mileage submitted by everyone in his organization. They're grouped by Employee. Each line item has a checkbox so that he can approve individual records. The group header also has a checkbox that will select all of that Employee's records so the Director can approve them wholesale.

Be happy to talk through some options with you.

Blessings,
Jim Bob


Top
 Profile  
 
 Post subject: Re: Select All Yes/No fields
PostPosted: Fri May 06, 2011 3:53 pm 
Offline

Joined: Mon Jan 04, 2010 4:07 pm
Posts: 92
@Jim Bob, I am guessing you are talking about a list view. I need an similar functionality in an NewForm or EditForm. I had to go with individual fields for each country because they needed to report on each one. Initiall I had a checkbox (multiple select) and added a function to select all, but then there is one field with multiple responses and no way to report speciffically. I thought maybe there could be a way that thru the field name, even if I start each name with the region (i.e. NA_USA, NA_CAN...) through the use of jquery I could set field value, or check field that start with NA_.

any thoughts?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group