All, I would like to know if someone knows how to convert this formula into javascript:
@If(@Length(fieldname) <= 1 & @Elements( fieldname) = 1;“No”; @IsNull(fieldname);“No”; “Yes”)
Thank you
All, I would like to know if someone knows how to convert this formula into javascript:
@If(@Length(fieldname) <= 1 & @Elements( fieldname) = 1;“No”; @IsNull(fieldname);“No”; “Yes”)
Thank you
Subject: somewhat
@If(@Length(fieldname) <= 1 & @Elements( fieldname) = 1;“No”; @IsNull(fieldname);“No”; “Yes”)
Length would use:
var uc = document.getElementById(‘fu_fld’);
uc.value.length);
IsNull would be:
var pkgbtn = somevalue;
if (pkgbtn==null) {
Elements: I don’t have one at hand. Search the web for something in js for that. If they don’t have a similar function, then you might do something where you split based on the delimiter, then count the results.