Select to view content in your preferred language

OOB Edit Widget modification : validate 2 date\calendar fields against each other

555
0
08-12-2013 10:49 AM
DevinDworkin
New Contributor
I thank any and all beforehand for assistance.

I have a Flex 3.4 Api Uncompiled project.
I am trying to customize the edit widget.
I have 2 date fields: date1 and date2.
How do I modify the OOB Edit Widget code to be able to test to make sure date2 > date1 or invalidate date2.


Perhaps validate the fields with a unique and simple comparison? But how and where?
Create custom calendar object calls and set date2 calender minimum to date1 selected date? But how and where?
How are field name and form values accessed throught he API?

I assume the changes would be made in the attributeinspectorskin.mxml but all the seemingly related functions seem to be in the editwidget.mxml

I have looked over the samples and they aren't a ton of help. I also don't want to write a custom editor just for 1 field comparison.

Thanks Again.....!!!!!
Tags (2)
0 Kudos
0 Replies