Submit does nothing, even with debug on - seeing no results. 😫
This is on 2 almost identical sites - http://peterpan.net.au/index.php?option=com_chronocontact&Itemid=10 and http://www.sentia.net.au/index.php?option=com_chronocontact&Itemid=10.
Joomla 1.5.18 and the latest chronoforms.
and the other funny thing is even though date picker is used for all the dates it only shows for some. BTW is there a way that date picker or manual entry can be done?
These forms were working fine until renamed some of the id's and types and created table for data. The form management screen has the correct table noted next to the form.
This is the last of the form code:
This is the autogenerated code:
Would really appreciate immediate assistance to fix this so form can be submitted and emailed to user and manager.
Thanks in advance.
This is on 2 almost identical sites - http://peterpan.net.au/index.php?option=com_chronocontact&Itemid=10 and http://www.sentia.net.au/index.php?option=com_chronocontact&Itemid=10.
Joomla 1.5.18 and the latest chronoforms.
and the other funny thing is even though date picker is used for all the dates it only shows for some. BTW is there a way that date picker or manual entry can be done?
These forms were working fine until renamed some of the id's and types and created table for data. The form management screen has the correct table noted next to the form.
This is the last of the form code:
<div class="form_item">
<div class="form_element cf_textbox">
<label class="cf_label" style="width: 150px;">Email Address</label>
<input class="cf_inputbox" maxlength="200" size="30" title="" id="text_54" name="parent2_email" type="text" />
</div>
<div class="cfclear">Â </div>
</div>
<div class="form_item">
<div class="form_element cf_button">
<input value="Submit" name="button_57" type="submit" />
</div>
<div class="cfclear">Â </div>
</div>
This is the autogenerated code:
<?php
$MyForm =& CFChronoForm::getInstance("Child_Registration");
if($MyForm->formparams("dbconnection") == "Yes"){
$user = JFactory::getUser();
$row =& JTable::getInstance("chronoforms_Child_Registration", "Table");
srand((double)microtime()*10000);
$inum = "I" . substr(base64_encode(md5(rand())), 0, 16).md5(uniqid(mt_rand(), true));
JRequest::setVar( "recordtime", JRequest::getVar( "recordtime", date("Y-m-d")." - ".date("H:i:s"), "post", "string", "" ));
JRequest::setVar( "ipaddress", JRequest::getVar( "ipaddress", $_SERVER["REMOTE_ADDR"], "post", "string", "" ));
JRequest::setVar( "uid", JRequest::getVar( "uid", $inum, "post", "string", "" ));
JRequest::setVar( "cf_user_id", JRequest::getVar( "cf_user_id", $user->id, "post", "int", "" ));
$post = JRequest::get( "post" , JREQUEST_ALLOWRAW );
if (!$row->bind( $post )) {
JError::raiseWarning(100, $row->getError());
}
if (!$row->store()) {
JError::raiseWarning(100, $row->getError());
}
$MyForm->tablerow["jos_chronoforms_Child_Registration"] = $row;
}
?>
Would really appreciate immediate assistance to fix this so form can be submitted and emailed to user and manager.
Thanks in advance.