You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Scott Gray (JIRA)" <ji...@apache.org> on 2008/01/04 06:52:34 UTC

[jira] Updated: (OFBIZ-1559) POC: Client-side form validation

     [ https://issues.apache.org/jira/browse/OFBIZ-1559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Gray updated OFBIZ-1559:
------------------------------

    Attachment: validation.patch

Not intended to be committed, just a POC.

I've included the required javascripts in the GlobalDecorator so that it can be tested anywhere.

No changes are required to existing form widgets

Couple of issues:
1.  The error message that gets displayed to the user ends up between the input and anything next to the input ie. a lookup or an *
2.  The error messages need to be internationalized

> POC: Client-side form validation
> --------------------------------
>
>                 Key: OFBIZ-1559
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1559
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Scott Gray
>            Priority: Minor
>         Attachments: validation.patch
>
>
> Proof of concept for using a client side form validation library with the form widget.  
> If a form widget field has required-field="true" then the can't submit the form until they enter something in that field.
> I used JSValidate (http://www.jsvalidate.com/) as the library, but I couldn't find any license info on their site (I googled "site:jsvalidate.com license")

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