Hi,
at the moment it is not. I think, when I added the created_by field in Visforms I just "forgot" to add an option which would allow you to include/exclude the field from export.
I could add such an option in the next release.
If you just need to have this field in all your exports (without a form configuration option to set whether it is included or not) you can change the source code.
Open the file administor/components/com_visforms/models/visdatas.php
find the function createExportBuffer ($params = null, $cids = array())
find
Code:
if (isset($params->expfieldcreated) && $params->expfieldcreated == 1)
{
$buffer .= JText::_( 'COM_VISFORMS_FIELD_CREATED_LABEL' ) . $separator;
}
and add the line
Code:
$buffer .= 'Created By' . $separator;
directly after this code. (In order to have a label in the haeder, if you export with a header
Find the function createPreFields ($params, $row, $separator = ";")
find
Code:
if (isset($params->expfieldcreated) && $params->expfieldcreated == 1)
{
$data .= $row->created . $separator;
}
Add
Code:
$data .= $row->created_by . $separator;
directly after this code (this will add the userid to each export row).
It's not tested yet, but I think, this will work,
Regards,
Aicha