You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org> on 2008/04/12 17:23:05 UTC

[jira] Created: (TAPESTRY-2352) Client side validation does not enforce the format of input (i.e., that numeric fields contain numbers)

Client side validation does not enforce the format of input (i.e., that numeric fields contain numbers)
-------------------------------------------------------------------------------------------------------

                 Key: TAPESTRY-2352
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2352
             Project: Tapestry
          Issue Type: Bug
          Components: tapestry-core
    Affects Versions: 5.0.11
            Reporter: Howard M. Lewis Ship


So there really should be additional validators that enforce the format of the input, before passing it "down the line" to validators such as Tapestry.Validator.min.

However, there's another issue: we need a way to define a "valid value" for a field in an extensible way; basically so that value that are valid on the server can be passed through.  Example: I have a client that wants users to enter "NA" into numeric fields for which they have no data.  I don't want the client validation to claim that "NA" is an invalid numeric value, so there needs to be a way to define strings or REs on the client side that are valid and ignored (and passed up the server unchanged).

-- 
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Closed: (TAPESTRY-2352) Client side validation does not enforce the format of input (i.e., that numeric fields contain numbers)

Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-2352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAPESTRY-2352.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0.15

> Client side validation does not enforce the format of input (i.e., that numeric fields contain numbers)
> -------------------------------------------------------------------------------------------------------
>
>                 Key: TAPESTRY-2352
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2352
>             Project: Tapestry
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.0.11
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.0.15
>
>
> So there really should be additional validators that enforce the format of the input, before passing it "down the line" to validators such as Tapestry.Validator.min.
> However, there's another issue: we need a way to define a "valid value" for a field in an extensible way; basically so that value that are valid on the server can be passed through.  Example: I have a client that wants users to enter "NA" into numeric fields for which they have no data.  I don't want the client validation to claim that "NA" is an invalid numeric value, so there needs to be a way to define strings or REs on the client side that are valid and ignored (and passed up the server unchanged).

-- 
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Assigned: (TAPESTRY-2352) Client side validation does not enforce the format of input (i.e., that numeric fields contain numbers)

Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-2352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship reassigned TAPESTRY-2352:
----------------------------------------------

    Assignee: Howard M. Lewis Ship

> Client side validation does not enforce the format of input (i.e., that numeric fields contain numbers)
> -------------------------------------------------------------------------------------------------------
>
>                 Key: TAPESTRY-2352
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2352
>             Project: Tapestry
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.0.11
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>
> So there really should be additional validators that enforce the format of the input, before passing it "down the line" to validators such as Tapestry.Validator.min.
> However, there's another issue: we need a way to define a "valid value" for a field in an extensible way; basically so that value that are valid on the server can be passed through.  Example: I have a client that wants users to enter "NA" into numeric fields for which they have no data.  I don't want the client validation to claim that "NA" is an invalid numeric value, so there needs to be a way to define strings or REs on the client side that are valid and ignored (and passed up the server unchanged).

-- 
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org