/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
echo "array(\n"; $customFieldList = $currentRecord->getField('customFieldList')->getField('customField'); foreach($customFieldList as $field) { echo "\t'".$field->getField('internalId')."' => ''"; if($field != $lastField) echo ","; echo "\n"; } echo ");";