Infragistics Home

Infragistics Forums

Infragistics community online discussions.
Welcome to Infragistics Forums Sign in | FAQ
in Search

JS Form Field Validation

Last post 09-17-2008 4:35 by [Infragistics] Rumen Stankov. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-11-2008 15:20

    JS Form Field Validation

    Hello All,

     I'm using the JS form field validation files (ig_shared.js and ig_edit.js) to format data on a form I have (DOB, SSN, phone number).  This works great.  However, this is in the case when I'm doing data entry.  When I go back to the page (after the data has been stored in a DB) and try to retrieve the data into the same form field, it doesn't display at all.

     Viewing the source code shows the data is being read in correctly (by the values of each input field showing), but once the above JS is read in, the fields all go blank.  Is there something I'm missing here?

    Any suggestions would be appreciated.

    Thanks  ..

     

    • Post Points: 20
  • 09-17-2008 4:35 In reply to

    Re: JS Form Field Validation

    Hello,

    I am not sure I get the whole context, but as far as I can tell both javascript files are used internally by our "editor" controls and I am not sure that we support working directly with the javascript only (without the server-side component).

    In your case, isn't it possible to use the WebMaskEdit control and set the InputMask property to what you need?

        <igtxt:WebMaskEdit
            ID="WebMaskEdit1"
            runat="server"
            InputMask="###,###">
        </igtxt:WebMaskEdit>

    In the "Editors" suite of controls, we also offer many specialized components like WebPercentEdit, DataTimeEdit, etc.

    Best Regards,
    Rumen Stankov (MCSD.NET)
    The Infragistics ASP.NET Team
    • Post Points: 5
Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems