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:
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Shown input fields on second page:
<input type="text" name="[EMAIL PROTECTED]" value="" />
<input type="text" name="[EMAIL PROTECTED]" value="" />
<input type="text" name="[EMAIL PROTECTED]" 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.