Forums

Columns views in Chronoforms 7

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 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.
You need to login to be able to post a reply.