Hello!
Im a new purchaser of chronoforms and have downloaded and imported submitcontent.cfbak.
I have the submitcontent.cfbak in its default state and its posting 'articles' fine, but is far too basic in its current form for my needs. So I am using it as a guide while I create another form via the wizard. Below is the wizard created FORM CODE>FORM HTML for the new form entitled "spirit_nominee":
This is my On Submit code - after sending email:
When filling out the form and hitting "Submit", it returns with "
Thank you for submitting your nominee entry. We will review it shortly and if approved it will be published.
El Reno Online!" so it appears to be posting, but when I go to the category, it shows me an edit icon, a BLANK Article Title, Todays "Date" and a BLANK "Author". And when i edit the form, there is nothing there. So is it being posted? Is it just NOT being retrieved for viewing? i dont know! Please assist?
Im a new purchaser of chronoforms and have downloaded and imported submitcontent.cfbak.
I have the submitcontent.cfbak in its default state and its posting 'articles' fine, but is far too basic in its current form for my needs. So I am using it as a guide while I create another form via the wizard. Below is the wizard created FORM CODE>FORM HTML for the new form entitled "spirit_nominee":
<div class="form_item">
<div class="form_element cf_heading">
<h1 class="cf_text">Submit Your "Spirit of El Reno" Nominee Here</h1>
</div>
<div class="cfclear"> </div>
</div>
<div class="form_item">
<div class="form_element cf_textbox">
<label class="cf_label" style="width: 150px;">Nominees Name:</label>
<input class="cf_inputbox" maxlength="150" size="30" title="" id="text_1" name="text_1" type="text" />
<a class="tooltiplink" onclick="return false;"><img height="16" border="0" width="16" class="tooltipimg" alt="" src="components/com_chronocontact/css/images/tooltip.png"/></a>
<div class="tooltipdiv">Nominees Name: :: First and Last name, please.</div>
</div>
<div class="cfclear"> </div>
</div>
<div class="form_item">
<div class="form_element cf_textbox">
<label class="cf_label" style="width: 150px;">Nominees Phone:</label>
<input class="cf_inputbox" maxlength="150" size="30" title="" id="text_10" name="text_2" type="text" />
<a class="tooltiplink" onclick="return false;"><img height="16" border="0" width="16" class="tooltipimg" alt="" src="components/com_chronocontact/css/images/tooltip.png"/></a>
<div class="tooltipdiv">Nominees Phone: :: This will not be made public.</div>
</div>
<div class="cfclear"> </div>
</div>
<div class="form_item">
<div class="form_element cf_textbox">
<label class="cf_label" style="width: 150px;">Nominees Address:</label>
<input class="cf_inputbox" maxlength="150" size="30" title="" id="text_5" name="text_3" type="text" />
<a class="tooltiplink" onclick="return false;"><img height="16" border="0" width="16" class="tooltipimg" alt="" src="components/com_chronocontact/css/images/tooltip.png"/></a>
<div class="tooltipdiv">Nominees Address: :: This will not be made public.</div>
</div>
<div class="cfclear"> </div>
</div>
<div class="form_item">
<div class="form_element cf_dropdown">
<label class="cf_label" style="width: 150px;">Nominees City:</label>
<select class="cf_inputbox" id="select_13" size="1" title="" name="select_4">
<option value="El Reno">El Reno</option>
<option value="Calumet">Calumet</option>
<option value="Minco">Minco</option>
<option value="Union City">Union City</option>
</select>
</div>
<div class="cfclear"> </div>
</div>
<div class="form_item">
<div class="form_element cf_textarea">
<label class="cf_label" style="width: 150px;">Why Are You Nominating This Person?</label>
<textarea class="cf_inputbox" rows="15" id="text_9" title="" cols="60" name="text_5"></textarea>
<a class="tooltiplink" onclick="return false;"><img height="16" border="0" width="16" class="tooltipimg" alt="" src="components/com_chronocontact/css/images/tooltip.png"/></a>
<div class="tooltipdiv">Why Are You Nominating This Person? :: Please indicate full reason why this person should be considered for "Spirit of El Reno"</div>
</div>
<div class="cfclear"> </div>
</div>
<div class="form_item">
<div class="form_element cf_dropdown">
<label class="cf_label" style="width: 150px;">Relation To Nominee</label>
<select class="cf_inputbox validate-selection" id="select_9" size="1" title="" name="select_6">
<option value="">Choose Option</option>
<option value="Friend">Friend</option>
<option value="Family Member">Family Member</option>
<option value="Co-worker">Co-worker</option>
<option value="Church">Church</option>
<option value="School">School</option>
<option value="Other">Other</option>
</select>
</div>
<div class="cfclear"> </div>
</div>
<div class="form_item">
<div class="form_element cf_fileupload">
<label class="cf_label" style="width: 150px;">Please Upload Picture of Nominee</label>
<input class="cf_fileinput cf_inputbox" title="" size="20" id="file_12" name="file_7" type="file" />
<a class="tooltiplink" onclick="return false;"><img height="16" border="0" width="16" class="tooltipimg" alt="" src="components/com_chronocontact/css/images/tooltip.png"/></a>
<div class="tooltipdiv">Please Upload Picture of Nominee :: .jpg only. Not to exceed 100kb.</div>
</div>
<div class="cfclear"> </div>
</div>
<div class="form_item">
<div class="form_element cf_captcha">
<label class="cf_label" style="width: 150px;">Captcha:</label>
<span>{imageverification}</span>
</div>
<div class="cfclear"> </div>
</div>
<div class="form_item">
<div class="form_element cf_button">
<input value="Submit" name="button_11" type="submit" />
</div>
<div class="cfclear"> </div>
</div>
This is my On Submit code - after sending email:
<p><span style="color: #0000ff;"><strong>Thank you for submitting your nominee entry. We will review it shortly and if approved it will be published.</strong></span></p>
<p><span style="text-decoration: underline;"><strong>Thank you again!</strong></span></p>
<?php
$_POST['catid'] = '49';
$_POST['id'] = '';
$_POST['sectionid'] = '6';
$_POST['state'] = '1';
$_POST['created'] = date("Y-m-d H:i:s");
?>
When filling out the form and hitting "Submit", it returns with "
Thank you for submitting your nominee entry. We will review it shortly and if approved it will be published.
El Reno Online!" so it appears to be posting, but when I go to the category, it shows me an edit icon, a BLANK Article Title, Todays "Date" and a BLANK "Author". And when i edit the form, there is nothing there. So is it being posted? Is it just NOT being retrieved for viewing? i dont know! Please assist?