on 04-02-2015 2:17 PM
Hi all,
I need to validate date value for ex : if user enter date in wrong format or without separator (10mar2015 instead of 10-mar-2015) i need to show some message saying enter date in correct format
and i tried to validate using validation interceptor and constraint but no results because if user enters wrong value for date attribute by default hybris converts into some other different date so we get date object .
Thank in advance ....
https://wiki.hybris.com/display/tr51/Trail+~+Validation did you check this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Marshall ,
i tried to validate date using validation constraint and validation interceptor but no use before validation the date was getting converted to some other date
i need to validate date as hybris is doing in productcockpit for the fields onlineFrom and onlineTo
so is there any configuration to achieve same for my own cockpit for fileds of type date
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.