Leaderboard

Rank Member Pts

Welcome to DNNDev University

DNNDev University LogoJust like a university without the grades and student loan. Think of it more as a merging of the student union and open classrooms. Ask questions, get answers, learn, teach, make friends and contacts.

Find Out More

 

Here's What's Happening on Campus

Drew

Drewcreated the topic: Nasty Trojan Link in DNNDev Article

Thought it was neccessary to report this. It appears a link has gone rogue and is serving up a nasty trojan. The link is titled "Link". It is supposed to be a demo for the auto complete json feed example. I assume this happened due to this article being …

5 days ago

Mike Palmer

Mike Palmercreated the topic: Possible bug in <xmod:format> tag</xmod:format>

I have an issue when using the <xmod:Format /> element for two fields in a template. It's formatting the first, but not showing any data for the second. They are both Numeric fields. The source is thus: <td>£<xmod:Format …

3 weeks ago

Steve Krantzman

Steve Krantzmananswered the question Generating a PDF

Even though this post is over 4 years old, I thought I would honor Rune's request and post what I found. Paras' answer worked for me. To help other XMod Pro users out, I created an article on how to use jsPDF within XMP. The jsPDF library can be found …
Mike OParasPatrick Ryan also answered the question Mike Oand 2 others also answered the question

3 weeks ago

Steve Krantzman

Steve Krantzmancreated the topic: XMP-Snippets for VS Code

If you have not discovered them yet, I created some XMP snippets for Visual Studio Code so that you can quickly create and/or edit your XMP forms and templates in VS Code. You can read about them here: XMP-Snippets-for-VS-Code! I would like to use this …

1 month ago

  • Mike PalmerThis sounds brilliant - I have already downloaded the Extension. I'll feedback my suggestions once I get into it. THANK YOU!

    Mike.4 weeks ago
Jeff M.

Jeff M.answered the question MJPG Camera View within Template

We can just add the img source to be the stream and it works for Opera, Chrome and Firefox. But of course, IE doesn't support mjpg, so we need to configure the javascript code to work properly within IE. But attempting to use the code as such, it …

1 month ago

Jeff M.

Jeff M.asked the question: MJPG Camera View within Template

Hello.. Trying to get a MJPG video stream working within a XMP Template. You can view the code here: http://dnndev.com/fiddle/fid/752 And this is what the HTML code looks like within Firebug: http://dnndev.com/fiddle/fid/753 It doesn't look like …

1 month ago

Kelly Ford

Kelly Fordanswered the question Link a Contact Us form to an Acknowledgement Template?

Hi Santiago, On the Manage Forms page, locate the form you created. You'll see the type of form as "Auto Layout". Click this link and it will: 1) make a copy of that form (for backup purposes) and 2) convert that form to a custom HTML layout form. At …

1 month ago

Santiago Perez

Santiago Perezearned the privilege Edit any question or answer or comment

Earned the Edit any question or answer or comment privilege!
AnonymousronniePhillip Quinlanand 91 others also earned the privilege Anonymousand 93 others also earned the privilege

1 month ago

Santiago Perez

Santiago Perezasked the question: Link a Contact Us form to an Acknowledgement Template?

I've made a form based on the video tutorial https://www.dnndev.com/learn/videos/vid/5/video/xmod-pro-form-builder-tour-contact-us-form I'm would like to wire up a template to show the Acknowledgement of the form being submitted like in the example: …

1 month ago

Anonymous

Anonymouscreated the topic: An error occurred while processing post-submit actions

I've created a C# class library project/solution that binds to my database table. I've set an Action tag that calls into my assembly. When I fill the form and press Submit, I receive the error in the above title in the DNN admin logs. How do I resolve …

1 month ago

  • NewestOldest
  • Kelly FordThis is not the intended use of an Action. The Action occurs *after* the form has been submitted and the form data has been saved to the database (i.e. the SubmitCommand). The Action, at that point, can perform additional work with the form data (save it to another table, write it out to a log, etc.) and can modify the data for use by the Email tag and the Redirect tag, if those are used. So you could change a value the Redirect tag can use to determine which page to redirect to - a special erro ...1 month ago
  • Kelly Ford@ webdbapps I don't know the specifics of what you're trying to do, but it sounds like you're getting info from the user via a form, sending that info to an API, retrieving its response and then saving that info to the database and sending that info to the user.

    I think the easiest way would be to use simply store that API response in the DB as part of your Action and then send ...1 month ago
  • Kelly FordYou can create a fiddle to display your code: http://dnndev.com/Fiddle/My-Fiddles1 month ago