anbutechie has asked for the wisdom of the Perl Monks concerning the following question:

Hi,
Lets say, the text field only accepts 5 characters. I have to check by passing more than 5 characters to the particiular field. When I pass using the SetValue subroutine of IEAutomation module, the field accepts the value (More than 5 characters). Is there any other subroutine to handle?
Regards,
Anbarasu
  • Comment on Is there any other subroutine to handle min/max char check?

Replies are listed 'Best First'.
Re: Is there any other subroutine to handle min/max char check?
by GrandFather (Saint) on Apr 15, 2009 at 07:32 UTC
Re: Is there any other subroutine to handle min/max char check?
by JavaFan (Canon) on Apr 15, 2009 at 08:57 UTC
    Is there a reason why length doesn't work for you?
Re: Is there any other subroutine to handle min/max char check?
by ikegami (Patriarch) on Apr 15, 2009 at 14:06 UTC
    I don't know what IEAutomation is capable of, but if it gives access to the DOM, you could modify the input element to remove its size limit.