Columns views in Chronoforms 7

Combine two fields into one column in ChronoForms 7 list views.

Overview

The method for combining fields changed from CF6, which used a specific function call, to using a different view structure in CF7.
After defining your columns, update the areas and drag an HTML view into the desired column, then insert the field variables with the correct syntax.

Answered
ChronoForms v7
Elita- Elita- 19 Dec, 2020
Hi, how do you call the function in the columns views in CF7?
CF6 used to have special field for that and it was fairly easy.
How its done now? e.g.:
in CF6
I need to combine two fields in one table column, e.g. Name Surname.
1) I write the php_combine funciton:
echo $this->get('submission_list.row.Submission.name')."".$this->get('submission_list.row.Submission.surname');

2) Then I call thet php function in table_list Columns view:

Submission.combined:{fn:php_combine}

What about CF7? I found text node that is used for this I believe but then i lost....
Max_admin Max_admin 23 Dec, 2020
Answer
after you define your columns in the list table, click "Update areas" then drag HTML view in the column you want then write inside:
{var:Model.field1} {var:Moidel.field2}
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.