Hi,

I'm trying to validate a form field for not exceeding a certain number of characters. The problem I'm having is that I can't seem to get the script to execute by using onChange, onKeyUp etc. on the field itself. If I execute the script from a link beside the field, it works perfectly, so I know the script itself is not the problem. It's just when I try to execute it from the field statement itself that it doesn't work. I've tried putting it on a text and textarea field, but neither works.

The code I'm using is:

onChange="funCheckSize(this.frmEdit.PageName, 1)"

I've used on onChange, onKeyDown, onKeyUp and onKeyPress, but none of them seem to be triggered.

Does anyone have any suggestions as to what I may be missing? I'm sure it's something simple.

Debbie-Leigh