Hello,
with a litte bit of script from the plugin I have integrated a form into my own component.
The codei used is
You can see it work on this page http://www.griffioendewijk.nl/index.php?option=com_jeudeboules&view=add_competitors
The original form is on this page http://www.griffioendewijk.nl/index.php?option=com_chronoforms&chronoform=Jeudeboules_registreren
It all looks great however there is one problem. The tooltips ain't working right. When i hit the send button without filling in any field it doesn't give me the fancy popups. Nothing happens and the page reloads. In the original form i don't have that problem.
What am i missing?
regards
Marcel
with a litte bit of script from the plugin I have integrated a form into my own component.
The codei used is
$form = CFChronoForm::getInstance($chronoform_name, true);
if(empty($form->form_name)){
return "There is no form with this name or may be the form is unpublished, Please check the form and the url and the form management.";
}
$loaded_form = JRequest::getVar('chronoform');
if(!empty($loaded_form) && (trim($loaded_form) != $form->form_name)){
$event = '';
}else{
$event = JRequest::getVar('event');
}
if(empty($event)){
$event = 'load';
}
$form->process($event);
ob_start();
HTML_ChronoForms::processView($form);
$output = ob_get_clean();
echo $output;
You can see it work on this page http://www.griffioendewijk.nl/index.php?option=com_jeudeboules&view=add_competitors
The original form is on this page http://www.griffioendewijk.nl/index.php?option=com_chronoforms&chronoform=Jeudeboules_registreren
It all looks great however there is one problem. The tooltips ain't working right. When i hit the send button without filling in any field it doesn't give me the fancy popups. Nothing happens and the page reloads. In the original form i don't have that problem.
What am i missing?
regards
Marcel
Hi Marcel,
At a guess the part of the ChronoForms code you are using loads the HTML but not the JavaScript and/or CSS needed for the validation.
Bob
At a guess the part of the ChronoForms code you are using loads the HTML but not the JavaScript and/or CSS needed for the validation.
Bob
Problem solved.
This topic is locked and no more replies can be posted.