Learn More





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
New Post
6/20/2013 9:27 AM


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="">

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


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

    <td width="50%">

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




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


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




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




<!-- 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(!{hiba+=(hiba?"\n":'')+'* Nincs megadva a név!';;}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?
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.
Try Evoq
For Free
Start Free Trial
a Demo
See Evoq Live
Need More Information?