Uploaded image for project: 'Commons Validator'
  1. Commons Validator
  2. VALIDATOR-265

Validate fields which are generated upon user input

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Abandoned
    • None
    • None
    • Framework
    • None

    Description

      We use a form where we display some input fields which depend on the number of email addresses the user entered on the page before.

      Example:
      =========================================
      Entered email addresses on first page:
      test1@test.ch
      test2@test.ch
      test3@test.ch

      Shown input fields on second page:
      <input type="text" name="sms_test1@test.ch" value="" />
      <input type="text" name="sms_test2@test.ch" value="" />
      <input type="text" name="sms_test3@test.ch" value="" />
      =========================================

      For input validation we would like to use the validation framework but as far as we know, there is no way to implement this at the moment. It would be nice if for example it would be possible to use regular expressions for the property attribute.

      <field property="regex" depends="maxlength">
      ...
      </field>

      Attachments

        Activity

          People

            Unassigned Unassigned
            mstricker Mark Stricker
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: