Skip to content

Add an a ui:pattern property to basic fields so form creator can give their own regexp #564

Open

Description

@timbl

The form field code already has the ability to color user inout depending on whther it matches a regexp, and block filed submission for a bad user string. The patterns curently come from the form system internally for numbers, decimals, etc. This poposes addiing a property ui:pattern so the form designer can specify them.

This would be useful, for example, when prompting for things like Matrix or Blu Sky user IDs.

Activity

  1. timbl commented on Oct 26, 2024

    @timbl
    ContributorAuthor

    It seems ui:pattern is already in the ontology.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions