Hi,

Please add a class reference to the div you add as a suffix to the reference field. This why we can specifically style it!

From:

$form[$key]['#suffix'] = '<div class="node-reference">Add New: ' . implode(', ', $links) .'</div></div>';

To:

$form[$key]['#suffix'] = '<div>Add New: ' . implode(', ', $links) .'</div></div>';

Comments

lordg’s picture

Sorry, I meant the other way around with the From and To. :(