Copy link to clipboard
Copied
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;
Copy link to clipboard
Copied
Use:
a=this.getField("field1").valueAsString;
Find more inspiration, events, and resources on the new Adobe Community
Explore Now