PC Review


Reply
Thread Tools Rate Thread

Button that will check all checkboxes in section

 
 
=?Utf-8?B?QWxpY2lhIFJpdHRlbmhvdXNl?=
Guest
Posts: n/a
 
      3rd Jan 2006
I am working on a website for my company. We have a section that has all of
the states listed and I want to create a button or link that selects all the
states or none. And then also in the same section - the states are broke
down into regions and have another button that will select all of the states
in that region or none of them. I hope that makes sense. I am not a big
time coder, enough to be dangerous.

Thanks in advance for your assistance!! Alicia
 
Reply With Quote
 
 
 
 
Jens Peter Karlsen [FP-MVP]
Guest
Posts: n/a
 
      3rd Jan 2006
You need JavaScript for this. Create a function that checks all the
wanted checkbox'es. You need another function for the regions.
You ofcourse also need functions to uncheck all, which should be
simple once you have written the first function to check all.
You can then use an onclick event on a button to call the function.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.

On Tue, 3 Jan 2006 11:23:02 -0800, Alicia Rittenhouse
<(E-Mail Removed)> wrote:

>I am working on a website for my company. We have a section that has all of
>the states listed and I want to create a button or link that selects all the
>states or none. And then also in the same section - the states are broke
>down into regions and have another button that will select all of the states
>in that region or none of them. I hope that makes sense. I am not a big
>time coder, enough to be dangerous.
>
>Thanks in advance for your assistance!! Alicia

 
Reply With Quote
 
=?Utf-8?B?QWxpY2lhIFJpdHRlbmhvdXNl?=
Guest
Posts: n/a
 
      3rd Jan 2006
Could you assist me with the coding for this. I do not know javascript at
all and would have no idea on how to even get started on it! Is this a
something that would be too difficult to do?

"Jens Peter Karlsen [FP-MVP]" wrote:

> You need JavaScript for this. Create a function that checks all the
> wanted checkbox'es. You need another function for the regions.
> You ofcourse also need functions to uncheck all, which should be
> simple once you have written the first function to check all.
> You can then use an onclick event on a button to call the function.
>
> Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
>
> On Tue, 3 Jan 2006 11:23:02 -0800, Alicia Rittenhouse
> <(E-Mail Removed)> wrote:
>
> >I am working on a website for my company. We have a section that has all of
> >the states listed and I want to create a button or link that selects all the
> >states or none. And then also in the same section - the states are broke
> >down into regions and have another button that will select all of the states
> >in that region or none of them. I hope that makes sense. I am not a big
> >time coder, enough to be dangerous.
> >
> >Thanks in advance for your assistance!! Alicia

>

 
Reply With Quote
 
Jens Peter Karlsen [FP-MVP]
Guest
Posts: n/a
 
      5th Jan 2006
Sorry. it will be way too much work to write this.
Either learn Javascript (Search for "Javascript Tutorial" on Google)
or hire someone to write it.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.

On Tue, 3 Jan 2006 13:14:04 -0800, Alicia Rittenhouse
<(E-Mail Removed)> wrote:

>Could you assist me with the coding for this. I do not know javascript at
>all and would have no idea on how to even get started on it! Is this a
>something that would be too difficult to do?
>
>"Jens Peter Karlsen [FP-MVP]" wrote:
>
>> You need JavaScript for this. Create a function that checks all the
>> wanted checkbox'es. You need another function for the regions.
>> You ofcourse also need functions to uncheck all, which should be
>> simple once you have written the first function to check all.
>> You can then use an onclick event on a button to call the function.
>>
>> Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
>>
>> On Tue, 3 Jan 2006 11:23:02 -0800, Alicia Rittenhouse
>> <(E-Mail Removed)> wrote:
>>
>> >I am working on a website for my company. We have a section that has all of
>> >the states listed and I want to create a button or link that selects all the
>> >states or none. And then also in the same section - the states are broke
>> >down into regions and have another button that will select all of the states
>> >in that region or none of them. I hope that makes sense. I am not a big
>> >time coder, enough to be dangerous.
>> >
>> >Thanks in advance for your assistance!! Alicia

>>

 
Reply With Quote
 
Stefan B Rusynko
Guest
Posts: n/a
 
      6th Jan 2006
See http://www.shiningstar.net/articles/...oxes.asp?ID=AW

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPa...3/Default.aspx
_____________________________________________


"Alicia Rittenhouse" <(E-Mail Removed)> wrote in message
news:97AB880F-DA60-40F4-9B28-(E-Mail Removed)...
| Could you assist me with the coding for this. I do not know javascript at
| all and would have no idea on how to even get started on it! Is this a
| something that would be too difficult to do?
|
| "Jens Peter Karlsen [FP-MVP]" wrote:
|
| > You need JavaScript for this. Create a function that checks all the
| > wanted checkbox'es. You need another function for the regions.
| > You ofcourse also need functions to uncheck all, which should be
| > simple once you have written the first function to check all.
| > You can then use an onclick event on a button to call the function.
| >
| > Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
| >
| > On Tue, 3 Jan 2006 11:23:02 -0800, Alicia Rittenhouse
| > <(E-Mail Removed)> wrote:
| >
| > >I am working on a website for my company. We have a section that has all of
| > >the states listed and I want to create a button or link that selects all the
| > >states or none. And then also in the same section - the states are broke
| > >down into regions and have another button that will select all of the states
| > >in that region or none of them. I hope that makes sense. I am not a big
| > >time coder, enough to be dangerous.
| > >
| > >Thanks in advance for your assistance!! Alicia
| >


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to Check Checkboxes =?Utf-8?B?TWlrZQ==?= Microsoft Excel Misc 1 7th Sep 2007 12:52 AM
Check One CheckBox To Check All CheckBoxes rn5a@rediffmail.com Microsoft ASP .NET 10 5th Dec 2006 11:35 AM
How do I set Checkboxes where you can only check yes or no, not bo =?Utf-8?B?UGF1bGE=?= Microsoft Excel Worksheet Functions 2 6th Mar 2006 11:13 PM
How do I check/uncheck ten or odd Checkboxes by click on one check =?Utf-8?B?S2VuIFZv?= Microsoft Excel Misc 5 4th Jan 2006 11:10 PM
button to check if checkboxes have been checked hchiutx Microsoft Excel New Users 1 3rd Feb 2004 07:56 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:32 PM.