Answered
Hi,
In LiveCycle Forms, I'm using a Numeric field, but I want to limit the number of (numeric) characters entered.
The Text field has a limit length property, but the Numeric Field does not seem to have a corresponding property (other than Limit length to Visible Area).
I can perform a javascript pop-up validation, but this is a much less usable solution to just limiting the entry.
Is there no event that I can use to have a field, limit to 4 numeric characters?
Should I log this with Adobe as a 'feature request'?
Thanks
With JavaScript, on the Change event try this:
if (xfa.event.newText > 9999) {
xfa.event.change = "";
}
If the user enters more than 4 characters, it removes the last character(s) entered. Remember, the code is case sensitive. (If you want to limit the field to three characters, type in 999 instead.)