PDA

View Full Version : Prepopulate message box on reply or new thread


lleidr
10-25-2010, 08:33 PM
I am looking in the newreply template to prepopulate the message field, but it looks like that is being supplied by a variable {vb:raw messagearea}. Does anyone know where this is set or how to otherwise prepopulate the message field.

Here is the snippet of code within the newreply template I am referencing:


<h2 class="blockhead">{vb:rawphrase your_message}</h2>
<div class="wysiwyg_block">
<div class="blockbody formcontrols">
<div class="section">
{vb:raw usernamecode}
{vb:raw human_verify}

{vb:raw usernameHTML}

<div class="blockrow">
<label for="title" class="full">{vb:raw string}{vb:rawphrase title}:</label>
<input type="text" class="primary textbox full" name="title" id="title" value="{vb:raw myUniqueTitle}" maxlength="{vb:raw vboptions.titlemaxchars}" tabindex="1" title="{vb:rawphrase optional}" />
&nbsp;<img id="display_posticon" src="{vb:raw selectedicon.src}" alt="{vb:raw selectedicon.alt}" />
</div>

{vb:raw messagearea}

<vb:if condition="$unquoted_post_count > 0">


You can see I was able to set the title by default by calling a variable I defined called {vb:raw myUniqueTitle}. I would like to do the same for the message field. Any help or hints is greatly appreciated.

--------------- Added 1288045756 at 1288045756 ---------------

Tend to answer my own questions on here. Its in the editor_toolbar_on template.