XModPro

Hiding "NoItemsTemplate" until first search

Jeff M. Jeff M. asked Jan 13, 2020
Active Jan 14 · Viewed 1897 times
<p>Hello.. </p> <p>Is there a way to hide the "NoItemsTemplate" field on a template until a search is entered? </p> <p>I have a XMP form and a XMP Template on a page. Search items are entered in the form to be returned in the template. </p> <p>At first page visit, the "NoItemsTemplate<span class="redactor-invisible-space">" is shown. Would like to hid this until search criteria is entered and searched for then appear if there aren't items matching the search criteria.</span> </p> <p>Thank you.. </p>

1 Answer

Loading answers...