Hi there,
I have a selection of checkboxes and a main one called 'Select All'
I want to be able to select them all with 'Select All'.
I feel i can do that by adding the value of the Select All (value) to the default on the checkboxes - that works fine.
I want to be able to also, if the user ticks all the boxes the Select All checkbox is also lit.
I have done the 2nd part by :
If (chcLicencePlateCEC.Value = true &&
chcWindowsWindscreenCEC.Value = true &&
chcWiperBladesAndWashersCEC.Value = true &&
chcAdvertisingSignageCEC.Value = true &&
chcTyresWheelsCEC.Value = true &&
chcMirrorsCEC.Value = true &&
chcRegistrationPlateCEC.Value = true &&
chcFrontLightsAndIndicatorsCEC.Value = true &&
chcRearLightsAndIndicatorsCEC.Value = true &&
chcUndersideCEC.Value = true &&
chcOtherCEC.Value = true,true)
In other words if all the Values of the checkboxes are true then add true to the Default on the Select All checkbox
I just cannot seem to get both Select All (with the tick box - and all of the chkboxs highlight) and if i select on all the checkboxes the 'select all' checkbox hightlights.
Any idea / any test info would be really welcome.

Report
All responses (
Answers (