[SOLVED - workaround] FEU/Self registration textarea limiting to 255 characters

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
pereblay
New Member
New Member
Posts: 7
Joined: Wed Oct 20, 2010 10:47 am

[SOLVED - workaround] FEU/Self registration textarea limiting to 255 characters

Post by pereblay »

Hi,

I'm using CMS 1.8.1 with FEU and SelfRegistration installed.

I defined within FEU a user property which is a text area. The text area has a default size of 80 cols per 15 rows (which in principle could accomodate a total of 1200 characters). However, when a user registers and fills in the text area, the text gets cut at 255 characters when the registration form is submitted.

However, when the user logs in to modify the information, the 255 limit dissapears and the user can fill in the textarea with as much text as he/she/it likes to.

I modified directly in the mysql database the maxlength of this property (can not modify the textarea maxlength in the admin area), but still the text gets cut a the character number 255.

How can i make that 255 characters limit dissapear?

Thanks a lot and congrats for the very nice job with CMS!!
Last edited by pereblay on Thu Dec 02, 2010 5:42 am, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: FEU/Self registration textarea limiting to 255 characters

Post by Dr.CSS »

Actually you may be able to edit the length in the admin, look in the templates for textarea or whatever input it is and you most likely will see the limit there, I've had to edit the templates before and remember seeing this in the templates...
User avatar
pereblay
New Member
New Member
Posts: 7
Joined: Wed Oct 20, 2010 10:47 am

Re: FEU/Self registration textarea limiting to 255 characters

Post by pereblay »

Thanks Dr.CSS for the tip.

I did look around but all i found is how to set the size of the textarea box (num. of columns and rows), how to set text size, and so on, everything related to style,... I could not find the limiting size of the character string... The 255 characters limit is applied only when the registration form is submitted. If the user edits its info afterwards and fills in again the textarea, then the 255 char. cut is not happening any more.

As a work around, i have removed momentarily the text area from the registration form and i have added a reminder in the registration confirmation page, with a link to enter the user info and a suggestion to fill in the textarea field...  :o :-[ :-\
leoteo

Re: FEU/Self registration textarea limiting to 255 characters

Post by leoteo »

Actually, this is an active bug in the SelfRegistration module.
There is a workaround, however. Quoting calguy1000:

you can get past this by editing the selfreg_properties table and changing the
data table to a TEXT field in phpmyadmin.

Best,
Leopold
User avatar
pereblay
New Member
New Member
Posts: 7
Joined: Wed Oct 20, 2010 10:47 am

Re: [SOLVED - workaround] FEU/Self registration textarea limiting to 255 characters

Post by pereblay »

Thanks a bunch!!  ::)
Post Reply

Return to “Modules/Add-Ons”