Questions

Tag Filter:
Hello.. Is there a way to hide the "NoItemsTemplate" field on a template until a search is entered? 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. At first page visit, the "NoItemsTemplate " 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 cr
I have followed Kelly's article on "Data-bound Drop-down Filters in XMod Pro" part 1 and 2. The technique works well but I would like a No Results message to appear if there are not any results for the selected filter. My first thought was to use the NoItemsTemplate within the second XMP template, that displays the results from the filter. The problem that I am having, is that the message in the N
I’ve got a scenario where an (AddForm) is used with a (SelectCommand) returning a single (1) row to populate some “defaults”. It’s possible that the SelectCommand could return zero (0) rows. In that case I’d like XMP to render different HTML in a similar manor as (NoItemsTemplate) or (xmod:Select) in a template. The (Panel) tag would work if it had say a “ShowIf” attribute like it has a “ShowRoles

jQuery check for empty feed

Answer Accepted
Hi, I am using a feed to load related content (a list of states for a country). This works fine for countries that have states. However I want to display "[[countryName]] has no states" in the loadfeed target div when the feed is empty. I found that you can't use a NoItemsTemplate in the feed, so I tried using jQuery, but the feed had not loaded yet when the script was called, therefore my 'if #di
I have templates to display records and from here, the end-users can add/edit/delete said records. But, when there aren't any records, I have the NoItemsTemplate configure to let the end-users that there aren't any records. And within this, I added an xmod:addbutton so records can be added. The issue is that with this configuration, the new button is shown to everyone, not just the administrators,

Getting Good Answers

How do you get good answers to your questions?   Ask good questions. That means:

  1. Good Titles: Give your question a concise but informative title. Rather than "Email Forms", use "Sending multiple emails from forms".
  2. Do Your Research: Check out the XMod Pro help file, the XMod Pro Guide on this site, do a search in this Answers forum. Members are friendly and more than happy to help, but it's good etiquette to show you've done your homework.
  3. Is It Answerable? Your question should be practical and answerable. Provide clear and accurate details about your specific problem. Be sure to include all the pertinent information or links to images and examples. 
  4. Show Your Appreciation: If someone correctly answers your question, come back and ACCEPT the answer. That gives them points and helps others know it was a correct answer. If members know you'll accept an answer, they'll be more likely to spend time on your next question(s).