Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

l_r_wilt
l_r_wilt
Offline

Badges

Badges
2

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts & Comments

Posts & Comments
2

Discussions

Discussions
0

Questions

Questions
1

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by l_r_wilt
Customize the badges you want to showcase on your profile
Re: Help writing JavaScript using an array to require at least one checkbox is selected prior to Save - Adobe LiveCycle 24-08-2011
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 tickedelse app.alert("Please select at least one Injured Body Part."); endifHe...

Views

271

Likes

0

Replies

0
Help writing JavaScript using an array to require at least one checkbox is selected prior to Save - Adobe LiveCycle 23-08-2011
I have a group of 29 checkboxes that I need to require at least one be checked prior to someone saving the form. (The validation taking place prior to Saving is critical.) Since there are 29 checkboxes in the group, I’d like to use an array rather than individually addressing each box. Unfortunately this has proved to be beyond my scripting abilities.Below is the script that I’ve been trying to use/adapt. It doesn’t seem to do anything, and I’m not even sure on which event I should be placing it...

Views

1.5K

Likes

0

Replies

6