- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi,
Thank you for the quick response. Unfortunately, something isn't going right. Below is the script I placed on the preSave event for the SubForm in which I've wrapped the checkboxes. (I apologize; I failed to mention the SubForm in my inital post.) I changed page1 to P3 as the group of checkboxes is on page 3 and I had renamed it to P3.
if
(Sum(P3.InjuredBodyPart[*]) ge 1) then
// all is okay, at least one checkbox is ticked
else
app.alert("Please select at least one Injured Body Part.")
;
endif
Here is the error message I get prior to saving regardless of whether a box is check.
Views
Replies
0 Likes
Total Likes