Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
Can two touchUI date fields (granite/ui/components/foundation/form/datepicker) be compared in HTML using data-sly-test? Also is there a way to get current date in HTL?
Thanks.
Hi,
You can try below but you can't get the current date in HTL. You need to use JAVA or JS Use API.
<div data-sly-test="${properties.date1 == properties.date2}">TEST</div>
<
div
data-sly-test
=
"${properties.date1 == properties.date2}"
>TEST</
>
Views
Likes
Replies