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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Embedding form in HTML/Text module doesnEmbedding form in HTML/Text module doesn't work... help!
Previous
 
Next
New Post
2/27/2006 7:36 AM
 
Hi there, I am a HTML and DNN newbie so apologies if the answer to this is painfully obvious.

I'm trying to embed this form in the text in a HTML/Text module on my website;

<form method="get" action="http://www.writetothem.com/">
<table border="0" bgcolor="#cccc99">
<tr>
<td><b><a href="http://www.writetothem.com/">Your Politicians</a></b>
<br><input name="pc" type="text" size="13" value="Your Postcode">
<input type="submit" value="Go">
</td>
</tr>
</table>

Unfortunately it doesn't work... it just redirects back to the same page... any ideas?

</form>

 
New Post
2/27/2006 7:44 AM
 

You will need to find a forms module - DNN works within a form itself so you cannot use a form in the text editor.

There are some forms around that are able to be configured - have a look on the third party modules page for a start.

So it's not you, you can't have forms running just dropping the code in.

Nina Meiers


Nina Meiers My Little Website
If it's on DNN, I fix, build, deploy, support,skin, host, design, consult, implement, integrate and done since 2003.
Who am I? Just a city chic, having a crack at organic berry farming.. and creating awesome websites.
 
New Post
2/27/2006 8:25 AM
 
Thanks, had a look at ODS Form but it's not really suitable... using DNN4.0.2 but most of the free modules seem to be for v3.

Doh.
 
New Post
2/27/2006 11:43 AM
 
Been thinking about this and I don't think I made my point clearly enough.

The form I quoted is designed to redirect a user from my website (DNN based) to another website (writetothem.com).

If I use a DNN form module it'll only let me create a module to have the user fill in form to my sites DB. That isn't what I need, the redirection is the crucial part!

I've tried putting it in an IFrame (as just a regular bit of HTML) but that isn't really what I'm after either as it then redirects with the whole remote website displayed in the IFrame module's area.

Any suggestions most welcome!
 
New Post
3/2/2006 2:45 AM
 

This would work.  Make sure when you add it to your HTML module that you have it in Basic Text Box and I would probably set it to Raw.

<table border="0" bgcolor="#cccc99"><tr><td><b><a href="http://www.writetothem.com/">Your Politicians</a></b><br><input id="pc" name="pc" type="text" size="13" value="Your Postcode"><input type="button" value="Go" onclick="window.location.href='http://www.writetothem.com/?pc=' + document.getElementById('pc').value;"></td></tr></table>

- Will


Will Morgenweck
VP, Product Management
DotNetNuke Corp.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Embedding form in HTML/Text module doesnEmbedding form in HTML/Text module doesn't work... help!


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