Validate one field or the other is filled in transition

Kirill Glazyrin January 29, 2013

I tried to check the filling of fields by following way:

if (cfValues['Номер письма'].value !='' || cfValues['Другой способ извещения'].value !='') {true}

but this does not work. Any suggestions?

1 answer

1 accepted

0 votes
Answer accepted
Kirill Glazyrin January 30, 2013
It works!
cfValues['Номер письма']!=null || cfValues['Другой способ извещения']!=null

 
Thank to everybody :)

Suggest an answer

Log in or Sign up to answer