In text box if i enter 01, 02, 03 etc., it has to be same as 01, 02,.... but it changed to 1, 2, 3....
is there any coding to sort out this
var a = this.getField("test");
var b = a.valueAsString;
I converted the value as string, it is showing in alert message but not in text field
please help me.
Thanks in Advance
Don't set it's format to be a number. Set it to none, and it will display as it was typed in.
Thanks Mark for your reply.
I changed the format to number, and i dont want to type alpha characters in textbox,
so I have done that thru scripting.
The text field needs to have a format of "None" and you have to make sure you set the value with a leading zero if one was not entered.