miletjs2
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to inser HTML code in pagesHello.
Will that also allow the following codes —
Hello,
Will that also allow the following html codes:
<form name=”phpformmailer” action=”contact.php” align=”center” method=”post”>
<div align=”center”><center><table bgcolor=”#F2F2F2″ width=”528″ cellspacing=”6″>
<tr>
<td width=”159″>Contact Us</td>
<td width=”349″><a
href=”http://thedemosite.co.uk/phpformmailer/source_code_php_form_mailer_more_secure_than_cgi_form_mailers.php”><small>PHP
Form Mailer – phpFormMailer – Source code</small></td>
</tr>
<tr>
<td align=”right” width=”159″><small>Your name:</small></td>
<td width=”349″><font face=”Arial”><input class=”inputc” size=”29″ name=”name”></font></td>
</tr>
<tr>
<td align=”right” width=”159″><font color=”#000080″ size=”1″>*</font><small> Your email
address:</small></td>
<td align=”left” width=”349″><font face=”Arial”><input class=”inputc” size=”29″
name=”email”></font></td>
</tr>
<tr align=”middle”>
<td align=”right” width=”159″><font color=”#000080″ size=”1″>*</font><small> Confirm email
address:</small></td>
<td width=”349″ align=”left”><font face=”Arial”><input class=”inputc” size=”29″
name=”email2″></font></td>
</tr>
<tr>
<td align=”right” width=”159″><font color=”#000080″ size=”1″>*</font><small> Subject:</small></td>
<td width=”349″><font face=”Arial”><input class=”inputc” size=”29″ name=”thesubject”></font></td>
</tr>
<tr>
<td align=”right” width=”159″> <font color=”#000080″ size=”1″>*</font><small> Your
request or query:</small></td>
<td width=”349″><textarea style=”FONT-SIZE: 10pt” name=”themessage” rows=”7″ cols=”27″></textarea></td>
</tr>
<tr>
<td width=”159″></td>
<td width=”349″><script language=”JavaScript”><!–
function validateForm()
{
var okSoFar=true
with (document.phpformmailer)
{
var foundAt = email.value.indexOf(“@”,0)
if (foundAt < 1 && okSoFar)
{
okSoFar = false
alert (“Please enter a valid email address.”)
email.focus()
}
var e1 = email.value
var e2 = email2.value
if (!(e1==e2) && okSoFar)
{
okSoFar = false
alert (“Email addresses you entered do not match. Please re-enter.”)
email.focus()
}
if (thesubject.value==”” && okSoFar)
{
okSoFar=false
alert(“Please enter the subject.”)
thesubject.focus()
}
if (themessage.value==”” && okSoFar)
{
okSoFar=false
alert(“Please enter the details for your enquiry.”)
themessage.focus()
}
if (okSoFar==true) submit();
}
}
// –></script><input type=”button” class=”button”
value=”Send” name=”B1″ ONCLICK=”javascript:validateForm()”><small> <small>You must fill in
the fields marked with a *</small></small></td>
</tr>
</table>
</center></div>
</form>Thank you so much.
Forum: Fixing WordPress
In reply to: HTML inputted into post converts wrongHello,
Will that also allow the following html codes:
[moderated – long code removed – use a pastebin service.]
Thank you so much.