[CLOSED] RegexText not displaying error Message

  1. #1

    [CLOSED] RegexText not displaying error Message

    Hi Friends

    I am using a Regex for validating 2 decimals in a
    <ext:NumberField>

    The Regex is displaying the red line in the no field if there is error in the digits entered but it is not displaying the RegexText even if i bring the mouse pointer over it.

    Can anyone who have experienced this problem help.

    Also I am using this no field in a <ext:CompositeField >

    Thanks in advance.

    Hari
    Last edited by geoffrey.mcgill; Aug 02, 2010 at 8:28 PM.
  2. #2
    Hello, Hari_CSC!

    It seems there is a normal behavior of NumberField validation when it deals with the CompositeField control.

    Is it appropriate to use a FormPanel control instead of CompositeField? Such as here:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title></title>
    </head>
    <body>
        <ext:ResourceManager runat="server"/>
        <form id="form1" runat="server">
        <ext:FormPanel runat="server">
            <Items>
                <ext:NumberField runat="server" Regex="/^\d{2}$/">
                </ext:NumberField>
            </Items>
        </ext:FormPanel>
        </form>
    </body>
    </html>
    If no, I'll try to find a solution but it'll take some time.
    Last edited by Daniil; Aug 02, 2010 at 6:47 AM.
  3. #3
    Hello, Hari_CSC!
    Is this still an issue?
  4. #4
    Hi,

    Please set CombineErrors="false" for the CompositeField

Similar Threads

  1. [CLOSED] Changing the Displaying message in a page on a grid
    By optibase in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Aug 16, 2012, 5:50 PM
  2. [CLOSED] Error Message is not shown
    By thchuong in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Aug 12, 2011, 9:27 AM
  3. [CLOSED] Displaying Error After Resizing the window
    By imaa in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Jul 27, 2011, 9:38 AM
  4. Replies: 7
    Last Post: Dec 20, 2010, 1:24 PM
  5. Replies: 1
    Last Post: Jan 21, 2009, 12:46 PM

Posting Permissions