Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Embed javascript generated form from KnackEmbed javascript generated form from Knack
Previous
 
Next
New Post
10/11/2014 12:20 AM
 

Appreciate help for a non-coder,

Created an online app with Knack (see knackhq.com) complete with embed code which works great pasted into a HTML module with the basic editor and the app inherits my DNN skin CSS as well.

Problem is the form is a javascript generated form, and any submit posts refresh the whole page which I understand is due to DNN's <form> structure.  The usual mehtods I've seen to correct this - like http://www.luiscabrera.me/Blog/Post/968/How-to-Add-MailChimp-to-DNN - don't work because the app is generated dynamically from this code:

<script>app_id="529be00ba67b94044c050b90";distribution_key="dist_2";</script><script src="https://api.knackhq.com/529be00ba67b94044c050b90/dist_2/knack.js"></script><div id="knack-dist_2">Loading...</div>

Does anyone have any ideas on this one?

Thanks

Brad

 
New Post
10/11/2014 4:05 AM
 
DNN is using Microsoft ASP.Net WebForms technology, which already surrounds the whole page with a form and don't allow nested forms. You may either use an iframe or create a custom module.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/11/2014 4:48 PM
 

Thanks Sebastian,

Before I launch into custom module development, are there key aspects of a custom module to make this work?  Any pointers would be appreciated.

Brad

 
New Post
3/9/2016 1:30 AM
 
I would also like to know on how to create a custom module with a form in dnn? Please help
 
New Post
3/9/2016 4:55 AM
 
Hi,

I also come across the same situation where I want to insert a form created in a JavaScript snippet into a dnn module. I have found many solutions to remove the form tag and implement the button click with the form action. Also to include an IFRAME. But in my case the form is created within the JavaScript snippet and I cannot modify that.

Can I implement this form and its functionality into the dnn module without making any changes to the JavaScript Snippet.
? Please help me. It is urgent
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Embed javascript generated form from KnackEmbed javascript generated form from Knack


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out