Avatar

Level 10

Hi,

If all of the checkboxes are on the one page AND they have the same name, then you could add the values of the checkboxes using FormCalc.

if (Sum(page1.CheckBox1[*]) ge 1) then

     // all is okay, at least one checkbox is ticked

else

     app.alert("Please select at least one Injured Body Part."); 

endif

If your users have Acrobat/Reader v9.1 or above, then you could set the target version to this AND use the cancelAction method (see help). You could put this line above the app.alert.

The whole script block could then go in the preSave event.

Here is a similar example: http://assure.ly/omsURE.

Hope that helps,

Niall