Answered
Text1 and Text2
hello
I have Text1 and Text2. i want If Text1 has the value >=2001 then Text2 will take the value 01(not 1 but 01).
Thanks
hello
I have Text1 and Text2. i want If Text1 has the value >=2001 then Text2 will take the value 01(not 1 but 01).
Thanks
OK. First of all, make sure the Format option of Text2 is set to None and then use this code as its custom calculation script:
event.value = (Number(this.getField("Text1").value) >= 2001 ? "01" : "");
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.