Hi all,
I have some button in html like " <a href="#" class="btn btn-default stackbannersubmit">ENROL NOW</a>" When i pass the Value of 'ENROL NOW' that time only the button should need to visible. if i don't pass any value or 'ENROL NOW' it should't show any button. For that what i have to do, can any one help here.?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
if you are passing value to button from dialog you can use "data-sly-test" in sightly to if value is provided or not and show button.
<a data-sly-test="${properties.<field name>}" href="#" class="btn btn-default stackbannersubmit">ENROL NOW</a>
Views
Replies
Total Likes
Hi,
if you are passing value to button from dialog you can use "data-sly-test" in sightly to if value is provided or not and show button.
<a data-sly-test="${properties.<field name>}" href="#" class="btn btn-default stackbannersubmit">ENROL NOW</a>
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Likes
Replies