Hi
I have just installed ChronoForm and I was able to create my form.
I needed to publish it in a module and I followed your FAQ suggestion (43? ...if i remeber...)
Anyhow the form seems displaying correctly but I have problem submitting and processing...
I keep having the same error...blank page with
"You are not allowed to access this URL."
I've searched the forum and I've seen the problem can be connected to <form> tags...but there are not in my form!!
I have set debug on, validation off, ....no changes.
To publish the form I'm using
mod_placehere version 1.5.0
I was not able to find a solution...
Here is the source code...
last thing....
Also the anti-spam is not showing...that can be a problem with mootols I have installed?
Thank you for your support.
Luca
PS I do not know if I'm posting in the right place....sorry if I was wrong...
I have just installed ChronoForm and I was able to create my form.
I needed to publish it in a module and I followed your FAQ suggestion (43? ...if i remeber...)
Anyhow the form seems displaying correctly but I have problem submitting and processing...
I keep having the same error...blank page with
"You are not allowed to access this URL."
I've searched the forum and I've seen the problem can be connected to <form> tags...but there are not in my form!!
I have set debug on, validation off, ....no changes.
To publish the form I'm using
mod_placehere version 1.5.0
I was not able to find a solution...
Here is the source code...
<!--[if gte IE 6]><link href="http://www.hurrah.it/Test/components/com_chronocontact/css/style1-ie6.css" rel="stylesheet" type="text/css" /><![endif]-->
<!--[if gte IE 7]><link href="http://www.hurrah.it/Test/components/com_chronocontact/css/style1-ie7.css" rel="stylesheet" type="text/css" /><![endif]-->
<!--[if !IE]> <--><link href="http://www.hurrah.it/Test/components/com_chronocontact/css/style1.css" rel="stylesheet" type="text/css" /><!--> <![endif]-->
<link href="http://www.hurrah.it/Test/components/com_chronocontact/css/calendar.css" rel="stylesheet" type="text/css" />
<link href="http://www.hurrah.it/Test/components/com_chronocontact/css/tooltip.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://www.hurrah.it/Test/components/com_chronocontact/js/calendar.js"></script>
<script src="http://www.hurrah.it/Test/components/com_chronocontact/js/mooValidation.js" type="text/javascript"></script>
<script type="text/javascript">
Tips.implement({
initialize: function(elements, lasthope,options){
this.setOptions(options);
this.lasthope = lasthope;
this.toolTip = new Element('div', {
'class': 'cf_'+this.options.className + '-tip',
'id': this.options.className + '-tip-' + this.options.elementid,
'styles': {
'position': 'absolute',
'top': '0',
'left': '0',
'visibility': 'hidden'
}
}).inject(document.body);
this.wrapper = new Element('div').inject(this.toolTip);
$$(elements).each(this.build, this);
if (this.options.initialize) this.options.initialize.call(this);
},
build: function(el){
el.$tmp.myTitle = (el.href && el.getTag() == 'a') ? el.href.replace('http://', '') : (el.rel || false);
if (el.title){
var dual = el.title.split('::');
if (dual.length > 1){
el.$tmp.myTitle = dual[0].trim();
el.$tmp.myText = dual[1].trim();
} else {
el.$tmp.myText = el.title;
}
el.removeAttribute('title');
} else {
var dual = this.lasthope.split('::');
if (dual.length > 1){
el.$tmp.myTitle = dual[0].trim();
el.$tmp.myText = dual[1].trim();
} else {
el.$tmp.myText = el.title;
}
}
if (el.$tmp.myTitle && el.$tmp.myTitle.length > this.options.maxTitleChars) el.$tmp.myTitle = el.$tmp.myTitle.substr(0, this.options.maxTitleChars - 1) + "…";
el.addEvent('mouseenter', function(event){
this.start(el);
if (!this.options.fixed) this.locate(event);
else this.position(el);
}.bind(this));
if (!this.options.fixed) el.addEvent('mousemove', this.locate.bindWithEvent(this));
var end = this.end.bind(this);
el.addEvent('mouseleave', end);
el.addEvent('trash', end);
},
start: function(el){
this.wrapper.empty();
if (el.$tmp.myTitle){
this.title = new Element('span').inject(new Element('div', {'class': 'cf_'+this.options.className + '-title'}).inject(this.wrapper)).setHTML(el.$tmp.myTitle);
}
if (el.$tmp.myText){
this.text = new Element('span').inject(new Element('div', {'class': 'cf_'+this.options.className + '-text'}).inject(this.wrapper)).setHTML(el.$tmp.myText);
}
$clear(this.timer);
this.timer = this.show.delay(this.options.showDelay, this);
}
});
window.addEvent('domready', function() {
$ES('.tooltipimg').each(function(ed){
var Tips2 = new Tips(ed, $E('div.tooltipdiv', ed.getParent().getParent()).getText(), {elementid:ed.getParent().getParent().getFirst().getNext().getProperty('id')+'_s'});
});
if($chk($E('input[type=file]', $('ChronoContact_richiesta_maggiori_info_pagina')))){
$('ChronoContact_richiesta_maggiori_info_pagina').setProperty('enctype', 'multipart/form-data');
}
});
</script>
<form name="ChronoContact_richiesta_maggiori_info_pagina" id="ChronoContact_richiesta_maggiori_info_pagina" method="post" action="http://www.hurrah.it/Test/index.php?option=com_chronocontact&task=send&chronoformname=richiesta_maggiori_info_pagina" >
<table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td colspan="2"><
Hai trovato le informazioni in questa pagina interessanti?<br />
Vorresti maggior informazioni in merito a quanto presentato in questa pagina? Compila il modulo sottostante o clicca qui!
<input type="hidden" name="pagina" id="pagina" value="/Test/grafica-comunicazione/brochures.html"/></td>
</tr>
<tr>
<td align="right">Nome</td>
<td>
<input type="text" name="nome" id="nome" /></td>
</tr>
<tr>
<td align="right">Email</td>
<td><input type="text" name="email" id="email" /></td>
</tr>
<tr>
<td align="right">Telefono</td>
<td><input type="text" name="telefono" id="telefono" /></td>
</tr>
<tr>
<td align="right">Note</td>
<td><textarea name="note" id="note" cols="21" rows="5"></textarea></td>
</tr>
<tr>
<td align="right"> </td>
<td><input name="submit" type="submit" value="invia richiesta" /></td>
</tr>
</table>
</form>
<script type="text/javascript">
function formCallback(result, form) {
window.status = "valiation callback for form '" + form.id + "': result = " + result;
}
var valid = new Validation('ChronoContact_richiesta_maggiori_info_pagina', {immediate : true, useTitles : true, onFormValidate : formCallback});
</script>
<!-- You are not allowed to remove or edit the following 3 lines anyway if you didnt buy a license -->
<div class="chronoform">
<a href="http://www.chronoengine.com">Joomla Professional Work</a>
</div>
<!-- You are not allowed to remove or edit the above 3 lines anyway if you didnt buy a license -->
last thing....
Also the anti-spam is not showing...that can be a problem with mootols I have installed?
<script type="text/javascript" src="/Test/media/system/js/mootools.js"></script>
<script type="text/javascript" src="/Test/media/system/js/caption.js"></script>
Thank you for your support.
Luca
PS I do not know if I'm posting in the right place....sorry if I was wrong...