CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

validation Message

General discussion

by etwoss » 26 May 2014 09:59

Hi

My rules message comes behind the control, but when i wait some time, one (datepicker) is suddenly placed underneath the control as shown on the image.
You see the 'value required' message still behind the control

I do not touch the keyboard!

It only happens when i have entered a wrong date (outside the range)

This probably comes because i do a IWFrameRegion.AjaxReRender():

Code: Select all
    if (not lblError.Visible) then
    begin
      lblError.Visible := IWCGJQDatePicker.JQValidateOptions.IsValid;

      if (lblError.Visible) then
       IWFrameRegion.AjaxReRender();
    end;



Strange enough IWCGJQDatePicker.JQValidateOptions.IsValid is True, Because IWCGJQDatePicker.Date = 0 and i have a Required rule, i did not expect this.

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 etwoss » 02 Jun 2014 11:06

Hi

We have a timer running which probably result in a refresh of the form, i also have a label on the formand it looks like the error message is 'pushed away'or something like that

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

by Alexander Bulei » 02 Jun 2014 11:10

Hi Eric,

Can you make the simple testcase with timer?

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 Jorge Sousa » 02 Jun 2014 11:30

Hi

Check this thread

http://www.cgdevtools.com/cgforum/viewtopic.php?f=3&t=1382&p=6792&hilit=validate#p6792

The final part contains code to an appropriate solution using validations
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58


Return to General - Archive

cron

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.