Text Area Size

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
JohnR
 
 
Posts: 60
Joined: Sat Mar 03, 2018 11:44 pm

Text Area Size

Post by JohnR » Tue Jun 15, 2021 1:36 pm

One of the Text Area settings is Size, a Size of 0 is supposed to give you unlimited size,
but appears to stop at about 4092 characters. Any suggestions?

User avatar
BaconFries
 
 
Posts: 5587
Joined: Thu Aug 16, 2007 7:32 pm

Re: Text Area Size

Post by BaconFries » Tue Jun 15, 2021 2:29 pm

I am sorry but this is not correct see the following reading from size:
https://developer.mozilla.org/en-US/doc ... input/text

size
The size attribute is a numeric value indicating how many characters wide the input field should be. The value must be a number greater than zero, and the default value is 20. Since character widths vary, this may or may not be exact and should not be relied upon to be so; the resulting input may be narrower or wider than the specified number of characters, depending on the characters and the font (font settings in use).

This does not set a limit on how many characters the user can enter into the field. It only specifies approximately how many can be seen at a time. To set an upper limit on the length of the input data, use the maxlength attribute.

JohnR
 
 
Posts: 60
Joined: Sat Mar 03, 2018 11:44 pm

Re: Text Area Size

Post by JohnR » Wed Jun 16, 2021 2:54 pm

My apologies, when I said SIZE I should have said MAX LENGTH.
It says that '0 = unlimited', but I have not found that to be the case.
It always stops at around 4092 characters.

User avatar
Pablo
 
Posts: 24241
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Text Area Size

Post by Pablo » Wed Jun 16, 2021 3:05 pm

Note that this is a standard HTML feature, so the functionality is implemented in the browser.
Different browsers may behave differently.

User avatar
BaconFries
 
 
Posts: 5587
Joined: Thu Aug 16, 2007 7:32 pm

Re: Text Area Size

Post by BaconFries » Wed Jun 16, 2021 3:46 pm

As mentioned by Pablo this may simply be a browser restriction. You should also note that a textarea is generally only used in a form for a users input and I can't really imagine that they would ever have to write 4092 characters or unlimited as you wish. Also in my opinion (and that is all it is) using a textarea to be used for text (if that is what your after) with the ability to scroll with unlimited text within it would be tedious having to scroll and scroll just to read the contents would put me off reading. It might be better to break it up into several sections for easier reading.

JohnR
 
 
Posts: 60
Joined: Sat Mar 03, 2018 11:44 pm

Re: Text Area Size

Post by JohnR » Wed Jun 16, 2021 4:02 pm

It's not just straight reading, that would indeed be very tedious.
What I'm using the area for is a Family Tree. I have broken it into several smaller areas,
and also put a link to a pdf of the full file on the page.

User avatar
BaconFries
 
 
Posts: 5587
Joined: Thu Aug 16, 2007 7:32 pm

Re: Text Area Size

Post by BaconFries » Wed Jun 16, 2021 4:47 pm

Reading from the following Large Text Area you had already asked this. Did you try Pablo's suggestion? You could also try leaving it empty. A bit of Googling gave me this https://www.geeksforgeeks.org/html-text ... attribute/ read from Attribute Value: number: But as mentioned it could be browser related and you will have to go with the method you are allowed already using.

Post Reply