[FIXED] [V0.8.0] v0.7: RegexText on TextField not rendered correctly

  1. #1

    [FIXED] [V0.8.0] v0.7: RegexText on TextField not rendered correctly



    Hi,


    When i use a regular expression to validate a TextField - e.g.:

    <ext:TextField ID="txtLastName" runat="server" FieldLabel="Last Name" Regex="^\w+([-.`'\s]?\w+)?$" RegexText="Invalid characters" MsgTarget="Side" AllowBlank="False" MaxLength="40" MaxLengthText="Last name must not exceed 40 characters">
    </ext:TextField>
    The validation works correctly, but the error message is rendered between forward slashes:

    /Invalid characters/

    Incidentally, this only applies to Regex validation - error messages for minimum length and maximum length render correctly.

    Thanks
    Jason
  2. #2

    RE: [FIXED] [V0.8.0] v0.7: RegexText on TextField not rendered correctly

    Hi Jason,

    Thanks for pointing out this bug. The "RegexText" property was improperly marked to render as a regular expression and not as a "string".


    I fixed the bugs and have committed the code to SVN. The fix will also be publicly available with the v0.8.0 release. 


    Geoffrey McGill
    Founder

Similar Threads

  1. [CLOSED] Label not rendered correctly inside Toolbar
    By smart+ in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Dec 14, 2011, 6:58 AM
  2. Replies: 6
    Last Post: Dec 07, 2011, 1:55 PM
  3. Replies: 4
    Last Post: Jul 28, 2011, 2:50 PM
  4. [CLOSED] FileUpload in toolbar not rendered correctly
    By smart+ in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jan 31, 2011, 5:32 PM
  5. [CLOSED] [1.0] TopBar/ BottomBar not rendered correctly
    By klaus.schwarz in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Oct 28, 2010, 10:09 AM

Posting Permissions