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 ...Subscription form doesn't workSubscription form doesn't work
Previous
 
Next
New Post
6/20/2013 9:27 AM
 

Hi,

I'm using an online marketing software for subscribe for my newsletter. The software generated this code:

<!-- WebGalamb Hírlevélkód eleje -->

<form id="feliratkozo_form_2" method="post" action="http://anico.hu/webgalamb/subscriber.php?g=2">

  <table border="0" cellspacing="0" cellpadding="4">

   <tr>

    <td align="right" width="50%">Név:<font color="red">*</font></td>

    <td width="50%">

     <input type="text" name="name" />

    </td>

   </tr>

   <tr>

    <td align="right">E-mail:<font color="red">*</font></td>

    <td>

     <input type="text" name="subscr" />

    </td>

   </tr>

   <tr>

    <td align="center" colspan="2"><input type="submit" name=sub value="Feliratkozás" onClick="if(!fvalidate_2('feliratkozo_form_2')) return false;" /></td>

   </tr>

</table>

</form>

<!-- WebGalamb Hírlevélkód - form vége

     JavaScript ellenőrző kód eleje -->

<script type="text/javascript">function fvalidate_2(fname){var formx=document.getElementById(fname);var hiba='';var mregexp=/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;if(!mregexp.test(formx.subscr.value)){hiba='* Hibás a megadott e-mail cím!';formx.subscr.focus();}if(!formx.name.value){hiba+=(hiba?"\n":'')+'* Nincs megadva a név!';formx.name.focus();}if(hiba) hiba); else return true;}</script>

<!-- JavaScript ellenőrző kód vége -->   

I put this code into a text/html module, and I was unchecked the "Remove Scripts" option in the html module settings. 

But it does not work....

Thanks in advice!

 
New Post
6/20/2013 10:30 PM
 
Does the code work if you paste into a plain old .html document saved on your desktop?
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Subscription form doesn't workSubscription form doesn't work


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