Date Validation in a Collection Model
My requirement is - I have a collection model which has 3 attributes- no, userName, number of Days and the Date passed as a payload from the process.
Initially WHen i view my page, the table data shows:
No UserName No.Of Days Date
2 User B
Now, When the User is entering Data to the date fields, a validation is required as in the user can enter either No.Of Days or the Date input. AND in row 1 ,if the user enters Date as 21/03/2013, then in row 2 the date should be greater than the row 1 Date.
Kindly let me know how to implement this ASAP.
depends on where the data is coming from. You can use
- ValueChange listener
- validator on the client side
- Entity validation on the server side (assuming you use ADF BC)