Sign up now to view this solution! It's quick, easy, and secure to subscribe. We will return you to this solution, unlocked, when you’re done.
OK So I have a pretty simple form that goes something like what you see below.
What I want to do is to add something to the field "email_body"
so basically it adds "{wishlink_do_not_delete_i
so that the final result that gets submitted as email_body is:
USER INPUT HERE BLAH BLAH
{wishlink_do_not_delete_it
I know this can be done with java.. does anyone know how?
Thanks in advance
<form method="post" action="index.php?" >
<textarea rows="7" cols="40" name="email_body" class="inputbox" style="width: 255px;">
USER INPUT HERE BLAH BLAH
</textarea><br/><br/>
<?php echo JText::_('INVITE_BY_EA') ?><br />
<input type="text" name="invite_by_ea" size="26" class="inputbox" style="width: 255px;" /><br /><input type="submit" value="<?php echo JText::_('BTN_INVITE') ?>" title="<?php echo JText::_('TITLE_EMAIL_EA') ?>" class="addtocart_button" style="margin-top: 8px" />
</form>
1: 2: 3: 4: 5: 6: 7:
Sign up now to view this solution! It's quick, easy, and secure to subscribe. We will return you to this solution, unlocked, when you’re done.
Posted on 2009-12-22 at 22:44:15ID: 28118347
All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.