Expand my Community achievements bar.

SOLVED

Color Failed Field - Form Properties

Avatar

Level 3

this below is from Generated code when chosing the form properties validation options. the question is how do we take care of radio buttons? it seems it only allows you to validate textfields or excelgroups?

 

 

// Only color nodes that are <field>s or <exclGroup>s
// Ignore everything else
if ((sClassName != "field") &&
(sClassName != "exclGroup")) {
return;
}

 

 

thanks 

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

 

The exclGroup is the container for the radio buttons, so this code will put the border around all the radio buttons, as opposed to each one individually.  So, this is generally what you want.

 

What effect are you wanting from the validation colouring?

 

Regards

Bruce

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Hi,

 

The exclGroup is the container for the radio buttons, so this code will put the border around all the radio buttons, as opposed to each one individually.  So, this is generally what you want.

 

What effect are you wanting from the validation colouring?

 

Regards

Bruce