Skip to main content
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
I can't seem to get the right title to show up on a Mollom field?
$protector = SpamProtectorManager::update_form($form, null, $fieldMap, null, 'Please enter the value from the image below');
Am I doing something wrong? I thought the fifth expected variable was for the right title? It doesn't appear when using this code.
Any help would be welcome
That is the correct code, though the mollom module does not add the rightTitle to the HTML (https://github.com/silverstripe/silverstripe-mollom/blob/master/code/MollomField.php#L33).
You could add a LiteralField to your form for your label or patch the module to add rightTitle support.
Thanks for this, appreciated.