Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Is there any other subroutine to handle min/max char check?

by anbutechie (Sexton)
on Apr 15, 2009 at 07:11 UTC ( [id://757568]=perlquestion: print w/replies, xml ) Need Help??

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://757568]
Approved by jonnyfolk
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-25 05:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found