If else calculation

Hello,

I’ve been trying the next event, but when I run the form I get an error. Basically what I want to do is if the field is greater than 0, then multiply that field by 12, if not is greater than o then put 0 in the field

if {Meses_de_antig_edad_en_la_empres} >0 )
{
{Meses_de_antig_edad_en_la_empres} = {Aos_de_antigedad_en_la_emp}*12;
}

else {
{Meses_de_antig_edad_en_la_empres} = 0;
}

If ({Meses_de_antig_edad_en_la_empres} >0 )

1 Like

Check your syntax… missing open bracket ( in if statement