New Forum | Previous | Next | (P-PDF) Beginners
Topic: How do you increment an alphabetical text field entry?
Conf: (P-PDF) Beginners, Msg: 86975
Date: 5/3/2003 01:38 AM
How do you increment an alphabetical text field entry? If the user enters "A" into Field1, I want to increment the field value to "B" and display the result in Field2.
I tried the following, which works for numeric values but not for alpha entries "A", "B", etc.
var num1 = this.getField("Field1").value;
var theresult = ++num1;
var F2 = this.getField("Field2");
F2.value = theresult;