Description Limit

Is it possible to set limits for the description such as photos, video, music? For example, users are able to describe it in 20-30 words. If so, how I can do this?

Quote · 27 Jan 2013

it's already set by default
min..3 and max.. is 255

Quote · 27 Jan 2013

 Thanks for reply, so how I can set limit for example max for 30 words?

it's already set by default
min..3 and max.. is 255

 

Quote · 27 Jan 2013

BxBaseAlbumForm.php

'Description' => array(
                    'type' => 'textarea',
                    'name' => 'Description',
                    'caption' => _t('_sys_album_caption_desc'),
                    'required' => true,
                    'html' => false,
                    'checker' => array (
                        'func' => 'length',
                        'params' => array(3,255),
                        'error' => _t ('_sys_album_err_desc'),
                    ),
                    'db' => array (
                        'pass' => 'Xss',
                    )
                ),

 

characters not words

Quote · 27 Jan 2013

 Thank you very much prolaznik! I will test it

BxBaseAlbumForm.php

'Description' => array(
                    'type' => 'textarea',
                    'name' => 'Description',
                    'caption' => _t('_sys_album_caption_desc'),
                    'required' => true,
                    'html' => false,
                    'checker' => array (
                        'func' => 'length',
                        'params' => array(3,255),
                        'error' => _t ('_sys_album_err_desc'),
                    ),
                    'db' => array (
                        'pass' => 'Xss',
                    )
                ),

 

characters not words

 

Quote · 27 Jan 2013

Major problem is that user can paste in this field and the Formating is not cleared. I tryed to copy search form and it copies everything - I end up with text and a small box where I can even put a checkmark.....

The field for Description should clear that kind of pasting automaticly. I'd already described that kind of pasting in a

Forum Topic: http://www.boonex.com/forums/topic/Profile-Description-text-missplaced.htm

Regards,

Mayki

"When things get tough the tough get going..."
Quote · 27 Jan 2013

Thanks Mayki too for advice. It may come in handy.

And if there is a possibility to reduce typing tags?

Quote · 30 Jan 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.