AnsweredAssumed Answered

adding a divider to concatenated fields

Question asked by Mike Solomon on Feb 4, 2014
Latest reply on Mar 14, 2014 by Mike Solomon
I can concatenate fields using the following code


$dictionary['zz_pop_detail']['fields']['zz_css_job_jobno_name'] =  array (
  'source' => 'non-db',
  'name' => 'zz_css_job_jobno_name',
  'vname' => 'LBL_ZZ_CSS_JOB_JOBNO_NAME',
  'type' => 'relate',
  'len' => '255',
  'id_name' => 'zz_css_job_id',
  'module' => 'zz_css_job',
  'link'=>'zz_css_job_link',
  'join_name'=>'zz_css_job',
  'db_concat_fields'=> array(0=>'jobno', 1=>'name', ),
  'required' => false,
);

This will display as JOB0004 Name

What I would like it to display as is JOB0004 - Name

Is it possible to add a divider to the concat?


Outcomes