Hide a field
Posted: 09 Nov 2015
Hello,
I have a question about JS :
I try to hide a field when a selection in the other field is made but it doesnt work :
This is my actual code
var Part = fd.field('Typedaffaire').value();
if (Part == 'SEP') {
$('.Partenaires').show();
} else {
$('.Partenaires').hide();
}
Something is wrong ?
Best regards,
I have a question about JS :
I try to hide a field when a selection in the other field is made but it doesnt work :
This is my actual code
var Part = fd.field('Typedaffaire').value();
if (Part == 'SEP') {
$('.Partenaires').show();
} else {
$('.Partenaires').hide();
}
Something is wrong ?
Best regards,