check boxes

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have designed a webpage/application for entering data into an retrieving
info from an access database. On page has a list of information that is only
displayed if a checkbox in the database is False. On the page the user can
check the box...if the page is refreshed the data will no longer appear. Is
there a way to put a button on the page that will check all of the boxes on
the form, so that the user does not have to check each one individually?

Thank you
 
You can do that with javascript - it would check the state of each button
and change it to the other state eg if you click checkbox 1 on, and the
others are "off" then clicking checkbox 1 turns all of them on. If some are
already on, clicking checkbox 1 turns the remaining ones on.


I don't know how to write it but it would be checking for the following

1) if any boxes are already checked "on"
2) if any boxes are checked "off"
3) when the user clicks any box on, it checks for the "off" checkboxes and
changes the state to on

It is rather complicated to explain by a novice.....but it can be done.
Trevor L., a member on this group might be able to help as he knows a bit of
javascript.
 
See http://irt.org/script/form.htm#4

--

_____________________________________________
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/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


|I have designed a webpage/application for entering data into an retrieving
| info from an access database. On page has a list of information that is only
| displayed if a checkbox in the database is False. On the page the user can
| check the box...if the page is refreshed the data will no longer appear. Is
| there a way to put a button on the page that will check all of the boxes on
| the form, so that the user does not have to check each one individually?
|
| Thank you
 
Back
Top