How to increase character limit for textarea?

Discuss general development subjects that are not specific to a particular version like the versioning control system we use or other infrastructure.
Post Reply
chief_wolfinjo
Registered User
Posts: 2
Joined: Thu Sep 22, 2016 3:08 pm

How to increase character limit for textarea?

Post by chief_wolfinjo » Thu Sep 22, 2016 3:22 pm

Hello :)

I am making a phpBB theme with options page, and now i have a problem with textarea field.

I want to have a ability that user can copy/paste the text in textarea field on options page, and when he clicks save button

that this text occurs at a specific location on forum. the function works but the problem is in character limit.

From what i can see max character limit is 255, but i need to increase it, and i dont know how :(

i have tried with maxlength="1000"

after that it allows me to input 1000 characters in textarea field but when i click save it gives me error, please see screenshot: http://prntscr.com/cl2lkm

and nothing happens.....

but if i input up to 255 characters then works normally...

so i hope you can help me with this, or do you have suggestion how can i do that ?

Thank you

User avatar
JimA
Community Team Leader
Community Team Leader
Posts: 63
Joined: Sun Aug 24, 2008 2:29 pm

Re: How to increase character limit for textarea?

Post by JimA » Thu Sep 22, 2016 3:30 pm

Hi, welcome to phpBB! :)

You have posted on Area51, which is our development board for discussion about the development of new versions of phpBB.
For general support questions, like the one you've posted, please go to https://phpbb.com/community

Thanks!
Image Jim Mossing Holsteyn - Moderator Team Member
Knowledge Base | Documentation | Board rules

No support here on Area51, please visit the Support forums over at phpBB.com

chief_wolfinjo
Registered User
Posts: 2
Joined: Thu Sep 22, 2016 3:08 pm

Re: How to increase character limit for textarea?

Post by chief_wolfinjo » Thu Sep 22, 2016 5:44 pm

Ok.

Thank you

Post Reply