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
BedrockMission!

Learn More

View all

Sign in to view all badges

Dynamic Subform Validation

Avatar

25-02-2009

Hi,



I am new to adobe Livecycle and have created a form that has a repeating subform. This subform is only visible when a checkbox is checked. When the box is checked the fields then become required. My problem is that in the initial subform this works fine, but as i add, the required fields don't become required. How can I resolve this?



Thanks

Replies

Avatar

Avatar
Validate 1
Level 4
Aditya_S_
Level 4

Like

1 like

Total Posts

315 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 4
Aditya_S_
Level 4

Like

1 like

Total Posts

315 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Aditya_S_
Level 4

26-02-2009

Is the check box in the same (repeating) subform as the fields that need to be required ?



This way for every instance all the functionality will continue from the initial subform.



Aditya

Avatar

02-03-2009

at the moment, the checkbox is above the repeating fields, and I have created a button that creates the new instance. Should i change that and place the code from the button in the checkbox, within the repeating data?

Avatar

Avatar
Validate 1
Level 4
Aditya_S_
Level 4

Like

1 like

Total Posts

315 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 4
Aditya_S_
Level 4

Like

1 like

Total Posts

315 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Aditya_S_
Level 4

03-03-2009

You should make the the check box a child element of the repeating subform (with the fields). In other words, the required fields and the checkbox should be within the same subform.



This way when you add an instance the check box is repeated with the subform and the same code will work for its instance.



Aditya