I am using custom field to display textarea with JCE editor. Editor is displayed correctly but after I hit submit, content of custom field is not stored into db. I have created columns with custom field names. This is the code:
and I created column with name text_4 for that field. But it store nothing. I am seeing this code in code editor.
thanks for your help
<?php
$editor = JFactory::getEditor();
echo $editor->display( 'text_4', $form->data("text_4"), '80%', '200', '75', '10', false);
?>
and I created column with name text_4 for that field. But it store nothing. I am seeing this code in code editor.
<div class="form-group gcore-form-row" id="form-row-custom3"><label for="custom3" class="control-label gcore-label-left">Hoe wordt uitgezocht wat je hebt?</label>
<div class="gcore-input gcore-display-table" id="fin-custom3"><?php
$editor = JFactory::getEditor();
echo $editor->display( 'text_4', $form->data("text_4"), '80%', '200', '75', '10', false);
?></div></div>
thanks for your help
Hi bveljkovic,
Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.
Note: if you are using the Easy Wizard you can turn on Debug on the Others tab in CFv4 or the Setup tab in CFv5.
Bob
Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.
Note: if you are using the Easy Wizard you can turn on Debug on the Others tab in CFv4 or the Setup tab in CFv5.
Bob
Website url is here http://creativebeelabs.com/medicalportal/index.php?option=com_chronoforms5&view=form&Itemid=148
if you need admin credentials I can provide.
Debug resultslts:
Array
(
[option] => com_chronoforms5
[view] => form
[Itemid] => 148
[chronoform] => guideline1
[event] => submit
[text_1] => <p>test entery 1</p>
[text_2] => <p>test entery 2</p>
[text_3] => <p>test entery 3</p>
[text_4] => <p>test entery 4</p>
[text_5] => <p>test entery 5</p>
[text_6] => <p>test entery 6</p>
[text_7] => <p>test entery 7</p>
[text_8] => <p>test entery 8</p>
[text_9] => <p>test entery 9</p>
[text_10] => <p>test entery 10</p>
[text_11] => <p>test entery 11</p>
[button2] => Submit
)
under errors and debugg tab I see this
Array
(
)
I received an email with submitted content all correct. Custom fields entery was not saved in db, only user_id, date etc
if you need admin credentials I can provide.
Debug resultslts:
Array
(
[option] => com_chronoforms5
[view] => form
[Itemid] => 148
[chronoform] => guideline1
[event] => submit
[text_1] => <p>test entery 1</p>
[text_2] => <p>test entery 2</p>
[text_3] => <p>test entery 3</p>
[text_4] => <p>test entery 4</p>
[text_5] => <p>test entery 5</p>
[text_6] => <p>test entery 6</p>
[text_7] => <p>test entery 7</p>
[text_8] => <p>test entery 8</p>
[text_9] => <p>test entery 9</p>
[text_10] => <p>test entery 10</p>
[text_11] => <p>test entery 11</p>
[button2] => Submit
)
under errors and debugg tab I see this
Array
(
)
I received an email with submitted content all correct. Custom fields entery was not saved in db, only user_id, date etc
upps, my bad, entry was saved to db
This topic is locked and no more replies can be posted.