commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Stricker (JIRA)" <j...@apache.org>
Subject [jira] Created: (VALIDATOR-265) Validate fields which are generated upon user input
Date Wed, 11 Jun 2008 12:42:45 GMT
Validate fields which are generated upon user input
---------------------------------------------------

                 Key: VALIDATOR-265
                 URL: https://issues.apache.org/jira/browse/VALIDATOR-265
             Project: Commons Validator
          Issue Type: Improvement
          Components: Framework
            Reporter: Mark Stricker
            Priority: Minor


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>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message