Add an extra 'caption' class to form_advanced

Hello all,

I'm looking to add a second 'caption' to some form rows, for example:

 'inputs' => array(

                 'Title' => array(

                     'type' => 'text',

                     'name' => 'Title',

                     'caption' => 'Some caption',

                     'caption2' => 'Some caption that can be added to whichever form I need',

                     'required' => true,

 

 

This is needed because most forms need to have the standard caption with standard styling, but I also have some forms that need a caption with separate styling (positioning/ color etc).

I'm having to resort to css clipping which is less than ideal.

Any help would be greatly appreciated!

Regards,

Rich

This is my signature, there are many like it but this one is mine...
Quote · 16 May 2013

normal non-language key caption:

'caption' => 'hey there everyone',

for fields that need special formatting, you can use the formatting in the code itself. It is simple html. Like this:

'caption' => '<b>Hey</b> there <em>everyone</em>',

 

Hope this helps

caredesign.net
Quote · 16 May 2013

Thanks, I'll give that a go ..

This is my signature, there are many like it but this one is mine...
Quote · 17 May 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.