Validating a custom field [message #1060593] |
Mon, 27 May 2013 04:27  |
Eclipse User |
|
|
|
I've created a rather complex custom field that lets me select dates using various methods. I now have the requirement that depending on the situation I need to define a minimum and maximum number of days that must be selected.
I was hoping to add some way of checking the currently selected number of days in a method like execValidateValue() after each change of selection and when clicking the ok button.
Is there an easy way to add this functionality without having to implement all of IValueField (which would be massive overkill in my case)? Ideally I would like the functionality to be caught by the form without having to add extra code to the form.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03708 seconds