Lookup issue
Posted: 21 Mar 2016
Hello guys,
I have a problem with a lookup column :
i have some JS on it :
fd.field('Type_x0020_d_x0027_affaire').control().change(function()
{
if (fd.field('Type_x0020_d_x0027_affaire').control().value( 'SEP'))
{
$('.fd_field[fd_name="NomDesPartenaires"]').show();
}
else if (fd.field('Type_x0020_d_x0027_affaire').control().value('GROUPEMENT'))
{
$('.fd_field[fd_name="NomDesPartenaires"]').show();
}
else
{
$('.fd_field[fd_name="NomDesPartenaires"]').hide();
}
});
And my problem is on my lookup column, my value didn't appear on my field ''Type_x0020_d_x0027_affaire'' and my field 'NomDesPartenaires' still show when i switch from another value.
Any idea ?
Best regards,
I have a problem with a lookup column :
i have some JS on it :
fd.field('Type_x0020_d_x0027_affaire').control().change(function()
{
if (fd.field('Type_x0020_d_x0027_affaire').control().value( 'SEP'))
{
$('.fd_field[fd_name="NomDesPartenaires"]').show();
}
else if (fd.field('Type_x0020_d_x0027_affaire').control().value('GROUPEMENT'))
{
$('.fd_field[fd_name="NomDesPartenaires"]').show();
}
else
{
$('.fd_field[fd_name="NomDesPartenaires"]').hide();
}
});
And my problem is on my lookup column, my value didn't appear on my field ''Type_x0020_d_x0027_affaire'' and my field 'NomDesPartenaires' still show when i switch from another value.
Any idea ?
Best regards,