Hi there. I got the following script for the format of an inputted
number (7 numeric char). If entered as "1", the format will be changed
to "0000001". Now I want to get this effect: if entered as "f1", the
format will be changed to "F000001". How can I modify the script to
achieve that? Thanks.if (!(this.isNull)) {var tf = this.rawValue;if (tf
< 1 ) {xfa.host.messageBox("The number must be a numeral starting from
1.","Incorrect Number",1);xfa.host.setFocus("TextField27"); }if
(tf.length < 7) {v...