ICEfaces
  1. ICEfaces
  2. ICE-9090

Regular expressions support for ace:maskedEntry

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: EE-3.2.0.GA
    • Fix Version/s: None
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 3.2
    • Salesforce Case Reference:

      Description

      mask attribute of the ace:maskedEntry is quite limited in scope at this point. This JIRA is aiming to add regular expressions support for this attribute.

        Activity

        Hide
        Ken Fyten added a comment -

        Review for possible inclusion in 3.4.

        Show
        Ken Fyten added a comment - Review for possible inclusion in 3.4.
        Hide
        Ken Fyten added a comment -

        This will take extensive effort and is outside the scope of what we can justify on organic 3.4 roadmap.

        Show
        Ken Fyten added a comment - This will take extensive effort and is outside the scope of what we can justify on organic 3.4 roadmap.
        Show
        yip.ng added a comment - - edited http://www.thimbleopensource.com/tutorials-snippets/jquery-plugin-filter-text-input https://github.com/ruoso/jquery-regex-mask-plugin https://github.com/akzhan/jquery-keyfilter
        Hide
        Ken Fyten added a comment -

        We should defer working on this further until we have a more comprehensive client-side validation roadmap determined as this component will need to interface with that.

        Show
        Ken Fyten added a comment - We should defer working on this further until we have a more comprehensive client-side validation roadmap determined as this component will need to interface with that.
        Hide
        Mark Collette added a comment -

        A regular expression allows certain types of characters to be entered in specific sequences and structure. Say for example a phone number that allows for +()-. with spaces and numeric digits. From this we can extract a white-list of characters, so that any character typed, that's not white-listed, can immediately and silently be dropped. Then, when the user has finished entering their value, the whole regex can be evaluated, and client-side validation can be done, to provide user feedback on the validity of their input.

        Show
        Mark Collette added a comment - A regular expression allows certain types of characters to be entered in specific sequences and structure. Say for example a phone number that allows for +()-. with spaces and numeric digits. From this we can extract a white-list of characters, so that any character typed, that's not white-listed, can immediately and silently be dropped. Then, when the user has finished entering their value, the whole regex can be evaluated, and client-side validation can be done, to provide user feedback on the validity of their input.

          People

          • Assignee:
            Unassigned
            Reporter:
            Evgheni Sadovoi
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated: