Hello,
I'm trying to find the proper syntax for the following situations when a group is set to "Repeated" = Yes.
1. cdd element rendered as checkbox
2. checkbox element in a repeat group
for first situation i already tried this but i get the message that element is null:
for the second situation i get the message that formElements is undefined:
What i need is to show/hide other fields/groups in form. Please, it's urgent..
Thank you
I'm trying to find the proper syntax for the following situations when a group is set to "Repeated" = Yes.
1. cdd element rendered as checkbox
2. checkbox element in a repeat group
for first situation i already tried this but i get the message that element is null:
Code:
form_13.formElements.get('join___168___buy_pie_repeat_pie_topping___pie_topping').getValue().each(function(v){
if (v === 'x') {
// do x
}
else if (v === 'y') {
// do y
}
});
for the second situation i get the message that formElements is undefined:
Code:
var subElements = form_47.formElements.get(contracte_campuri___camp_extraoptiuni_vm').subElements;
var firstCheckBox = subElements[0];
if (firstCheckBox == 11) {
$('group568').show();
}
What i need is to show/hide other fields/groups in form. Please, it's urgent..
Thank you