Questions

Tag Filter:
What is the proper syntax to reference a parameter (which is a foreign key id) in the add form which was sent by the add link?
I want to create a generic stored procedure to take the values from an <AddForm> or <EditForm>, add or edit the appropriate record, then insert an entry in another table that acts like a sort of log of all actions performed. To perform multiple SQL functions like this I need to do it with a stored procedure. I thought that I'd like to make a very generic stored proc that will work for all adds and
Since XMP tags like (xmod:Select) don’t appear to be supported in the (AddSuccessTemplate) of (AddForm) what is the recommended method to conditionally display blocks of HTML based on data [[Field]] Tokens. This question is somewhat similar to my prior question which has yet to be answered ;-)
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
The "Walk Through" in the online help says: Ensure that the Form Mode is set to Add . This tells the module to load the form defined in the <AddForm> tag. Where is this done?

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).