How to add a text area
<p>I am trying to add an additional text area so I need to duplicate part of this code but I am not sure which part.
Can anyone please help?</p>

<pre><code>function mode_add_message()
{
jQuery("#editor").hide();
jQuery("#cropper").hide();
jQuery("#crop_preview_container").hide();

jQuery("#pxn8_canvas").show();
jQuery("#messages").empty();

jQuery("#edit_and_crop").show();
jQuery("#add_text").show("slow");

gAddTextOpNumber = PXN8.opNumber;

if (gCardDB[gActiveCard].text_placeholders){
    var placeholders = gCardDB[gActiveCard].text_placeholders;
    for (var i = 0;i &lt; placeholders.length; i++){
        var text = placeholders[i];
        var html = "";
        if (text.multiline){
            html = "&lt;li&gt;&lt;textarea name=\"text_" + i + "\" id=\"text_" + i + "\"&gt;Message # "    +        (i+1) + " Here&lt;/textarea&gt;&lt;/li&gt;";
        }else{
            html = "&lt;li&gt;&lt;input class=\"text\" type=\"text\" name=\"text_" + i + "\" id=\"text_" + i + "\" value=\"Message # " + (i+1) + " here\"&gt;&lt;/li&gt;";
        }
        jQuery(html).appendTo("#messages");
    }
    }else{
    end_cardmaker();
    }
    }
//

// There can be multiple text inputs/textareas so each must be added.
</code></pre>

<p>This is the URL: <a href="http://pixenate.com/pixenate/themes/cardmaker/index.php" rel="nofollow">http://pixenate.com/pixenate/themes/cardmaker/index.php</a></p>
