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

Divesh Dutta commented on OFBIZ-7511:
-------------------------------------

auto-fields-service handles required option i.e if IN attribute is not optional 
then required is set to "true" in form widget. so where ever 
auto-fields-service is used fields will be automatically work as required 
field, but in forms where you want to make field mandatory but that field in 
not mandatory in service definition, there is no option available. 

Also forms which are directly not based on service, for those forms, there is 
no option available. So such cases, this is the only option available i.e you 
will have to define required explicitly in form.

I don't see any thing to to be fixed at framework level here. Deepak what do 
you have in mind when you say we can fix this required-field at the time of 
form rendering. There is no bug in required-field. 

> Add proper form validation  across the application
> --------------------------------------------------
>
>                 Key: OFBIZ-7511
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7511
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL APPLICATIONS
>    Affects Versions: Trunk
>            Reporter: Deepak Dixit
>
> This is the place holder task for adding proper form validation across the 
> application.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to