setting max char length allowed on useTextField date field

Hi,

I have date field with useTextField set.
How can i limit user from entering only upto 10 characters ?

Hi Mithun
How would you like this to work? Do you want the user to be unable to enter more than 8 characters into the text field, or do you want it to be flagged as an error (showing validation error styling etc if they do)?
Or something else?
Thanks

Isomorphic Software

unable user to enter more that n characters

Yes, I want user to be unable to enter more that n characters.
Can you tell me how this can be achieved in both normal text field and Date field with useTextField set ?

Implement the formItem.change method, check the length of the value being passed in and return false if it’s over your threshold.