Answered
Calculate length of number/numeric field. (multiple 0's fail)
Need to calculate length of a field including any 0's
000231 should equal 6
a=this.getField("field1").value
app.alert(a.toString().length);
// only works with non 0 digits.
Need to calculate length of a field including any 0's
000231 should equal 6
a=this.getField("field1").value
app.alert(a.toString().length);
// only works with non 0 digits.
Use:
a=this.getField("field1").valueAsString;
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.