[
https://issues.apache.org/jira/browse/VALIDATOR-232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511390
]
Niall Pemberton commented on VALIDATOR-232:
-------------------------------------------
Out of interest what's your use case for this? The only one I've seen in the
past is for password fields, where people don't want things such as min/max
length and regular expression rules revealed in javascript.
One way to do this currently would be to configure additional "non-script"
equivalent validators - or in the case of password validation its probably
better to develop a custom password validator.
Anyway STR-1888 doesn't give a use-case and its not something that I recall
being much requested in Struts - so I'd be interested to hear yours.
> Add script attribute to control script generation
> -------------------------------------------------
>
> Key: VALIDATOR-232
> URL: https://issues.apache.org/jira/browse/VALIDATOR-232
> Project: Commons Validator
> Issue Type: New Feature
> Components: Framework
> Reporter: Paul Benedict
> Priority: Minor
> Fix For: 1.4
>
> Attachments: VALIDATOR-232.dtd.patch, VALIDATOR-232.patch
>
>
> Add a script="true|false" attribute to <field> to control whether JavaScript
> should be generated.
> Also see: https://issues.apache.org/struts/browse/STR-1888
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]