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

Ankit Jain commented on OFBIZ-3161:
-----------------------------------

Hello Jacques,

Thanks to look into it , i'll upadte my patch for error message, Jacques in our 
form-widget the ids are auto generated and is something like 
"formName_fieldName" , so how could you query through ids. 

Currently the code is handling two field FromDate and ThruDate , but it may be 
possible if anyone want to use it for WorkEffort StartDate and EndDate than? so 
i talked about generalised solution . 

As we do in ftls we add a class for field and in js we can fetch fields that 
have our class and do the operations accordingly , that something i was saying 
and if possible we'll apply here , So anyone can use for checking two date 
fields which have different names.

Its weekend so i'll try it on Monday. Happy Weekend....

Thanks & Regards
Ankit Jain

> We should check that the thru date is not older than the from date
> ------------------------------------------------------------------
>
>                 Key: OFBIZ-3161
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3161
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL APPLICATIONS
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Trivial
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-3161.patch, OFBIZ-3161.patch
>
>
> In any places we use a from and thru dates, we should check that the thru 
> date is not older than the from date

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

Reply via email to