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

Setting Exclusion Group to Required in FormCalc or Javascript

Avatar

Avatar
Validate 1
Level 1
mrrcomp_1
Level 1

Likes

0 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
mrrcomp_1
Level 1

Likes

0 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
mrrcomp_1
Level 1

11-04-2012

Hi

I am looking for the syntax to toggle an Exclusion Group to required or optional

For regular text fields I am using field.validate.nulltest="error"  or field.validate.nulltest="disabled" however for the exclusion groups thats not working.

HELP

Suggestions?

Meir

Replies

Avatar

Avatar
Validate 10
Level 8
Jono_Moore
Level 8

Likes

109 likes

Total Posts

1,151 posts

Correct Reply

144 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile

Avatar
Validate 10
Level 8
Jono_Moore
Level 8

Likes

109 likes

Total Posts

1,151 posts

Correct Reply

144 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile
Jono_Moore
Level 8

12-04-2012

I don't think I've ever used .validate.nulltest for this. Not sure what the difference is (except maybe the exclusion groups!).

For all field types I use:

field.mandatory = "error";

field.mandatory = "disabled";

Avatar

Avatar
Validate 1
Level 1
mrrcomp_1
Level 1

Likes

0 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
mrrcomp_1
Level 1

Likes

0 likes

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
mrrcomp_1
Level 1

15-04-2012

Hi

Thanks for your response. It seems the code was ok the problem was that the behaviour of the exclusion groups is different depending on Version and wheter the form is static or dynamic.

Again thanks for your response

Regards

Meir