llFilledTextbox(key id, string message, string text, integer channel);
tracked
Kimpa Tammas
The llTextbox function is frequently used to enter parameters as values or text. It could be useful to prefill the text field with the previous parameter especially if it's a long text.
Example, this previous sentence was entered: "The quick brown fox jumps over the lazy cat." and need to be fixed. Currently, for edit it, I need to put the sentence as message in llTextbox. Then, copy it from the box label and paste it in the field. With the llFilledTextbox, the field would be prefilled with the sentence. Also, a text size extended to 512 characters would be welcome. To finish, the field needs to take the focus when the box is showed.
Log In
Spidey Linden
tracked
Issue tracked. We have no estimate when it may be implemented. Please see future updates here.
Oggy Fink
Spidey Linden We definitely need a more general solution for dialog boxes instead of yet another function that only adds a detail to an existing limited function.
I beg you to reconsider the generalized and extensible dialog box suggestion that you closed.
Gwyneth Llewelyn
... and what about a bit more feedback to the script, so that we don't need to rely on a timeout function to catch those cases where the user has fallen asleep in front of their computer? 🥱😴💤
Jokes besides, I gladly voted up on this idea, not in the least to get the discussion going (or rather, continuing...) around what else should/could be changed...
Silverdown Seetan
It would be easier just to add a text option to the menu llTextBox()
llTextBox( key avatar, string message, integer channel, string text );
"" = no prefilled text
"Hello World" = "Hello World" prefilled into text box
If you really want to get form like you can even add a edit option
llTextBox( key avatar, string message, integer channel, string text , integer modify);
TRUE = Can edit
FALSE = Cannot edit
Submit the form for next box or the rest of the code
Cutie Crush
This was suggested while llTextBox was still in testing! Even just a greyed out 'example text' in the field (like you see in many web forms) can be used for something like this. Many times in RL web forms you'll see something like "Enter your birthdate" and it'll have a greyed out "12/31/2024" in the field until you start typing there, giving the user some idea of what the form expects to be input here.
Bleuhazenfurfle Resident
If we're introducing a new textbox function, then I'd like the addition of a prefix string that gets prepended to the entered value, too. This would allow textbox to share a channel with dialogs, or just carry an associated identifier.