hi,,,
i build my web form with chronoForms and but my HTML code in it and add the code for Acajoom in specific part in my from like this
but it appear in my web form but it does not work functionality so what can i do ?
also how can i remove menus and every thing from joomla to get that type in attachment with this message or i should make my own template or give me link to free one please suitable with my page help me ASAP ,thank u
Edited to add code tags and reformat code<br><br>Post edited by: GreyHead, at: 2008/01/22 14:24
i build my web form with chronoForms and but my HTML code in it and add the code for Acajoom in specific part in my from like this
<h3>Suscriber Module</h3>
<!-- Beginning Module : Acajoom News 1.6.0 -->
<script language="javascript" type="text/javascript">
function submitacajoommod(formname) {
var form = eval('document.'+formname);var place = form.email.value.indexOf("@",1);var point = form.email.value.indexOf(".",place+1);
if (form.name.value == "" || form.name.value == "Name"«») {
alert( "Please enter your name." );return false;
} else if (form.email.value == "" || form.email.value == "E-mail"«») {alert( "Please enter a valid e-mail address." );return false;
} else {
if ((place > -1)&&(form.email.value.length >2)&&(point > 1)){form.submit();return true;
} else {alert( "Please enter a valid e-mail address." );return false;
}
}
}</script>
<link rel="stylesheet" href="http://localhost/Joomla150/components/com_acajoom/css/acajoom.css" type="text/css" >
<form action="http://localhost/Joomla150/index.php?option=com_acajoom" method="post" name="modacajoomForm1">
<div class="" style="text-align:left">
<input type="hidden" value="1" name="subscribed[1]" />
<input type="hidden" name="sub_list_id[1]" value="1" />
<input type="hidden" name="acc_level[1]" value="0" />
<input id="wz_11" type="text" size="10" value="Name" class="inputbox" name="name" onblur="if(this.value=='') this.value='Name';" onfocus="if(this.value=='Name') this.value='' ; " />
<br/>
<input id="wz_12" type="text" size="10" value="E-mail" class="inputbox" name="email" onblur="if(this.value=='') this.value='E-mail';" onfocus="if(this.value=='E-mail') this.value='' ; " />
<br/>
<input id="wz_2" type="checkbox" class="inputbox" value="1" name="receive_html" checked="checked" /> Receive HTML?
<br/>
<input id="aca_22" type="button" value="Subscribe" class="button" name="Subscribe" onclick="return submitacajoommod('modacajoomForm1');" />
but it appear in my web form but it does not work functionality so what can i do ?
also how can i remove menus and every thing from joomla to get that type in attachment with this message or i should make my own template or give me link to free one please suitable with my page help me ASAP ,thank u
Edited to add code tags and reformat code<br><br>Post edited by: GreyHead, at: 2008/01/22 14:24