Skip to Content

Fixed length for InputField

Hi

I have InputFilds that have to be limited. For example max length = 3 letters

I set up the property length = 3 but into InputField is possible to be enter more letters. Do you know is it possible for UI InputField to limit the size of entered text?

Message was edited by: Rosen Chaushev

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 07, 2005 at 01:54 PM

    Create Dictionary type for your attribute (based on string). Set minimum / maximum length constraints as desired.

    VS

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 09, 2005 at 05:42 AM

    Hi,

    By default Inpu feild has following properties

    Name Interface Type Initial Value Bindable ValueRequire

    length IWDAbstractInputField int 20 bindable No

    if your input feild needs to have 3 charectes , you need to hardcode it in the view(implementation)(String type) and at the same time set the lenth parameter also.

    Hope this helps

    RK

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.