ID:1694669
 
Code:
client/Topic(href, href_list[])
world << "Testing Output Stage 1"
if(href_list["action"]) // Checking for the existence isn't necessary
// but will help in later debug output.

// By using switch(), we will determine what the action is.
world << "Testing Output Stage 2"
switch(href_list["action"])

if("say")

usr << browse(href_list["msg"])


client/New()
..()
var/TestInfo = file2text('Updates.html')
src << browse({"<html>
<head>
<style type="text/css">
form
{
background-color:#f0f8ff;
color:#000010;
border: 2px outset #81a1c6;
padding: 4pt;
}
input
{
background-color:#81a1c6;
color:#fff;
border: 1px inset #6181a6;
}
a
{
color:#00f;
text-decoration:none;
}
</style>
</head>

<body>

<form name="BrowseForm" action="byond://" method="get">
<p>
<input type="hidden" name="action" value="say" />
<input type="submit" value="Browse Export" />

<textarea name="msg" rows="20" cols="100">
[TestInfo]</textarea>

</p>
</form>
</body>
</html>"}
)



Problem description:

I am attempting to create the first stage of what would be an in game Byond HTML editing system, the second stage would be to display a preview window of the text recently edited.

The issue I have found is that it seems to cut off at a certain text limit, I have done some light reading on the topicas it had been covered sparsely and found that a HTML form using TextArea would get around the input Message limitation of directly loading the variable into BYONDs standard text message editor.

However I seem to have encountered a size issue regardless of this.

The html file variable 'TestInfo' that loads in from file2text loads in the entire 100kb of text to the text area, but upon button submission no output message is received on either of the steps.

It's as if it's stopping by some predefined limitation, I have tested it with smaller amounts of text and it outputs correctly as intended.

Any amount of help or suggestion on this situation would be appreciated.

Thanks for any time or concern taken with this issue.
Fixed - Just incase anyone has this issue again, use the POST method for submission for large amounts of text instead of Get. Noob mistake.