Hi Nial,Thanks, but it is not working, and I guess knowing which is the right event to place it on, because, it briefly works the next time you go back to the field and exit from it. So, it looks like it hangs somewhere.Thanksv/rLucpian
Hi All,I do have a form I am working on, and I have all other scripts I have written on it working except one. There is a Calculate field that based on it's value, it checks the check box on page one depending on the range. This Calculated is readOnly. I wrote the following code, and put on the Exit...
Hi All,I have a form I have just completed, and it is one of those complex one. There is a field that is numeric, and should not accept less than 4 digits. I wrote the following code, but it doesn't seem to work, and I do not know why.if(SSN_SMg.rawValue > "" && SSN_SMg.length < 4){xfa.host.message...
Thanks, but the field name is "Last-Name". The code I have is placed on the validate event, and is as follows:if(Last_Name.FormattedValue != "99999999"){ xfa.host.setfocus("Last_Name");}Basically, what I am trying to do is prevent the cursor from moving out of the field until a true value that mee...
Hi All,I have the following script on exit event of a field on my form that I am designing, and basically if the format is wrong it should reset the cursor back to the field unless the correct format is entered. Here is the Code: if(this.formattedValue<>YYYYMMDD){ ...