17452 Posts in 4473 Topics by 1971 members
|Go to End|
6 September 2012 at 10:30pm
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
7 September 2012 at 9:27pm
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.
26 September 2012 at 6:57am
Thanks for this, appreciated.
|Go to Top|