CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Max Characters

by etwoss » 29 Aug 2014 08:08

Hi

Is there anyway i can limit the number of characters entered in the Memo?

if not i will make this a future request

Eric
etwoss
 
Posts: 1205
Joined: 06 Feb 2014 08:58

by Alexander Bulei » 29 Aug 2014 09:30

Hi Eric,

Only MemoEx have the property MaxLenght.

http://www.cgdevtools.com/docs/_html/IWCGJQMemo.TIWCGJQMemoExOptions.htm

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by etwoss » 29 Aug 2014 14:34

Hi

Just tested with MinLength 2 and MaxLength 10
When are these tested, i can enter 1 character and go to different control and can also enter > 10 characters and go to other control
No messages, no truncation

Now tested using ValidateOptions

Tried it using ValidateOptions jqvorvMaxLength , this works with Value set to 10


Eric
etwoss
 
Posts: 1205
Joined: 06 Feb 2014 08:58

by Alexander Bulei » 29 Aug 2014 15:40

Hi etwoss,

It's works only for typing.
For validate, yes, you need use validateOptions.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by etwoss » 01 Sep 2014 12:19

Hi

See the image. In the object inspector you can see MaxLength = 10 and still can enter more characters.

Eric
You do not have the required permissions to view the files attached to this post.
etwoss
 
Posts: 1205
Joined: 06 Feb 2014 08:58

by Jorge Sousa » 01 Sep 2014 18:35

Hi Eric

We confirm this bug, to be fixed asap
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by Jorge Sousa » 04 Sep 2014 12:12

Fixed for next release
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58


Return to JQMemoEx

cron

Who is online

Users browsing this forum: No registered users and 4 guests

Contact Us.