Гость
25 Фев 2014 08:16

Hi,

Can anyone advise how can we enforce the user to enter certain numbers of characters in the text area field?

Последние изменения: 02 Март 2014


Гость
25 Фев 2014 09:05

Thanks Sergey for your very speedy response. What I was trying to say is how to restrict the end user to input 100 characters in text area field. I want to make sure that the end user inputs at least 100 characters or 100 words on front end. That was my main intention and not responsive thing.


Sergey
Total posts: 13,748
25 Фев 2014 09:31

SO you want minimum text restriction not maximum? Because there is limitation it textarea field parameter. Even counter that show right while you type how many characters are left.


Гость
25 Фев 2014 09:32

yes I want minimum and maximum text restriction, is it possible?


Sergey
Total posts: 13,748
25 Фев 2014 23:40

Unfortunately there is no minimum restriction.


Гость
26 Фев 2014 03:02

Can you please provide some hints how can I do that?. I may probably need to edit the text area cobalt core files.


Sergey
Total posts: 13,748
27 Фев 2014 00:02

Yes you will need to hack Cobalt. And it will become unupdatable. I simply added this parameter to new textarea field.


Гость
27 Фев 2014 03:16

Hi Sergey,

When you say you simply added this parameter-- Do you mean the minimum parameter?


Sergey
Total posts: 13,748
27 Фев 2014 09:19

Yes and it is already in latest textarea field. Just update.


Гость
27 Фев 2014 10:17

great, I also saw that in the Blog. As usual, you are always fast..

Работает на Cobalt