Date validation not working

edited January 2009 in Server
Good morning,

Date validation is no longer working in web tier generated reports. When
using Fiddler, I can see that the IsDate() function is included in the HTML
source exactly as it appears in rsWebJavaScriptSearchValidation.pas. Even
when I change the IsDate() function to just return false, date auto search
fields still pass (Fiddler again shows that the IsDate() function is exactly
as in rsWebJavaScriptSearchValidation.pas).

Is something changed in the way auto search fields are validated? How can I
make it work again? I'm using RS 10.08.

Thanks in advance,
Mariëlla

Comments

  • edited January 2009

    For RB 10.x, there were no mods made to date validation that I recall. I
    checked the source history and no mods were made to the
    rsWebJavaScriptSearchValidation.

    For RB 11, the date validation is entirely reworked. There is a Calendar
    control that is displayed to the user and internal javascript is different -
    it can now accomodate the regional settings of the WebTier machine.


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited January 2009
    Good morning Nard,

  • edited January 2009


    You say anymore - what version you were you using prior to RB 10.08?

    Try updating to RB 10.09 and then perform the same test.



    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited January 2009
    Good afternoon Nard,

    Before 10.08 I've used 10.07.

    Kind regards,
    Mariëlla

  • edited January 2009
    RS 10.09 behaves in the same way (It will just allow anything you type).

    Kind regards,
    Mariëlla

  • edited January 2009

    I reviewed our source control system - no changes were made to any of the
    TrsWebxxxx units. (For all of RB 10.x it is the same code).

    I reviewed the list of patches that we made - no patches for any TrsWebxxxx
    units.




    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited January 2009
    Hi Nard,

    Do you have any suggestions where I can look at and/or how I can debug this?
    I can also send you the HTML output if that might help.

    Kind regards,
    Mariëlla

This discussion has been closed.