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 07:22:34 UTC

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

    [ https://issues.apache.org/jira/browse/OFBIZ-1559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555821#action_12555821 ] 

Scott Gray commented on OFBIZ-1559:
-----------------------------------

Ok turns out not that many form fields have field-required="true"
Here's one that this will work with:
https://localhost:8443/accounting/control/newInvoice

Also the library doesn't seem to like forms that don't have either a name or an id, but that can be fixed easily enough

> 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.