RichTextBox Query
Hi,
I am using InfoPath 2003 and have a form with RichTextBox. I need to limit the size of the textbox to 450 characters. I am aware that this can be done for a normal textbox by checking the checkbox "Limit text box to:" in Display tab of Properties Dialog box. I cannot find a similar checkbox in RichTextBox properties.
I am also aware that the workaround for this might be to add a Data Validation with custom pattern match like ".{450,}" Or I could write a script for OnBeforeChange event, but in either case the validation occurs after the user tabs to some other control. I want to limit the user to not able to enter any further character once the limit of 450 characters is reached. Does anyone know of any event that can achieve this?
Many Thanks,
Sandeep Saran
|