PDA

View Full Version : Contact Page with Comments


Vivianne
Nov-16-2008, 04:23 AM
Morning,

I seem to have screwed up my contact me (http://neamatt.com/gallery/6567236_T7tQa) page here is what I'm looking to do

I want to have my contact form and then guest book/comments below the the form if this can be done

I have a form from emailmeform.com and the comments option turned on


<form method="post" action="http://www.emailmeform.com/fid.php?formid=46028" enctype="multipart/form-data" accept-charset="UTF-8">
<table cellpadding="2" cellspacing="0" border="0" bgcolor="#000000">
<tr>
<td>
<font face="Verdana" size="2" color="#ffffff"></font>
<div style="" id="mainmsg"> </div>

</td>
</tr>
</table>

<br>

<table cellpadding="2" cellspacing="0" border="0" bgcolor="#000000">

<tr valign="top">
<td nowrap><font face="Verdana" size="2" color="#ffffff">Your Name</font></td>
<td>
<input type="text" name="FieldData0" value="" maxlength="100" size="30"> </td>
</tr>

<tr valign="top">
<td nowrap><font face="Verdana" size="2" color="#ffffff">Your Email Address</font></td>
<td>
<input type="text" name="FieldData1" value="" maxlength="100" size="30"> </td>
</tr>

<tr valign="top">
<td nowrap><font face="Verdana" size="2" color="#ffffff">Phone Number</font></td>
<td>
<input type="text" name="FieldData2" value="" maxlength="100" size="30"> </td>
</tr>

<tr valign="top">
<td nowrap><font face="Verdana" size="2" color="#ffffff">Subject</font></td>
<td>
<input type="text" name="FieldData3" value="" maxlength="100" size="60"> </td>
</tr>

<tr valign="top">
<td nowrap><font face="Verdana" size="2" color="#ffffff">Message</font></td>
<td>
<textarea name="FieldData4" cols="60" rows="10"></textarea><br> <div style="position: absolute; left: 1800px; top: 20px;"><a href="http://www.captchacreator.com">php captcha</a></div></td>
</tr>

<tr>
<td colspan="2">
<table cellpadding=5 cellspacing=0 bgcolor="#E4F8E4" width="100%">
<tr bgcolor="#AAD6AA">
<td colspan="2"><font color="#FFFFFF" face="Verdana" size="2"><b>Image Verification</b></font></td>
</tr>
<tr>
<td style="padding: 2px;" width="10"><img src="http://www.emailmeform.com/turing.php" id="captcha"></td>
<td valign="top"><font color="#000000">Please enter the text from the image</font> <br><input type="text" name="Turing" value="" maxlength="100" size="10">
[ <a href="#" onclick=" document.getElementById('captcha').src = document.getElementById('captcha').src + '?' + (new Date()).getMilliseconds()">Refresh Image</a> ] [ <a href="http://www.emailmeform.com/?v=turing&pt=popup" onClick="window.open('http://www.emailmeform.com/?v=turing&pt=popup','_blank','width=400, height=300, left=' + (screen.width-450) + ', top=100');return false;">What's This?</a> ]
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td> </td>
<td align="middle">
<input type="text" name="hida2" value="" maxlength="100" size="3" style="display : none;">
<input type="submit" class="btn" value="Send email" name="Submit"> <input type="reset" class="btn" value=" Clear " name="Clear"></td>
</tr>
<tr>
<td colspan=2 align="center">
<br>
</td>
</tr>
</table>

</form>

and this code in my CSS

/* html only page for gallery 6567236_T7tQa */
.gallery_6567236_T7tQa .nophotos { display: none; }


Regards

Vivianne

Allen
Nov-16-2008, 05:41 AM
Morning,

I seem to have screwed up my contact me (http://neamatt.com/gallery/6567236_T7tQa) page here is what I'm looking to do

I want to have my contact form and then guest book/comments below the the form if this can be done

I have a form from emailmeform.com and the comments option turned on

...

and this code in my CSS

/* html only page for gallery 6567236_T7tQa */
.gallery_6567236_T7tQa .nophotos { display: none; }


Regards

Vivianne
Ha, you went back into your album description by clicking edit. With these
forms it b0rks the code doing that. You have to save your code in a text file
and edit it there. Then paste the whole thing in every time.

Also make sure it's between html tags.

<html>
<form>...
....
</form>
</html>

Vivianne
Nov-16-2008, 05:58 AM
Ha, you went back into your album description by clicking edit. With these
forms it b0rks the code doing that. You have to save your code in a text file
and edit it there. Then paste the whole thing in every time.

Also make sure it's between html tags.

<html>
<form>...
....
</form>
</html>

Morning,

I must be missing somthing here I just deletd all the code from the contact me page and copied new code form emailmeform.com pasted it into a text file added "<html>
<form>" at the beginning and the and and my form is still not working

here is the code from the text file

<html>
<form>
<form method="post" action="http://www.emailmeform.com/fid.php?formid=46028" enctype="multipart/form-data" accept-charset="UTF-8">
<table cellpadding="2" cellspacing="0" border="0" bgcolor="#000000">
<tr>
<td>
<font face="Verdana" size="2" color="#ffffff"></font>
<div style="" id="mainmsg"> </div>

</td>
</tr>
</table>

<br>

<table cellpadding="2" cellspacing="0" border="0" bgcolor="#000000">

<tr valign="top">
<td nowrap><font face="Verdana" size="2" color="#ffffff">Your Name</font></td>
<td>
<input type="text" name="FieldData0" value="" maxlength="100" size="30"> </td>
</tr>

<tr valign="top">
<td nowrap><font face="Verdana" size="2" color="#ffffff">Your Email Address</font></td>
<td>
<input type="text" name="FieldData1" value="" maxlength="100" size="30"> </td>
</tr>

<tr valign="top">
<td nowrap><font face="Verdana" size="2" color="#ffffff">Phone Number</font></td>
<td>
<input type="text" name="FieldData2" value="" maxlength="100" size="30"> </td>
</tr>

<tr valign="top">
<td nowrap><font face="Verdana" size="2" color="#ffffff">Subject</font></td>
<td>
<input type="text" name="FieldData3" value="" maxlength="100" size="60"> </td>
</tr>

<tr valign="top">
<td nowrap><font face="Verdana" size="2" color="#ffffff">Message</font></td>
<td>
<textarea name="FieldData4" cols="60" rows="10"></textarea><br> <div style="position: absolute; left: 1800px; top: 20px;"><a href="http://www.captchacreator.com">php captcha</a></div></td>
</tr>

<tr>
<td colspan="2">
<table cellpadding=5 cellspacing=0 bgcolor="#E4F8E4" width="100%">
<tr bgcolor="#AAD6AA">
<td colspan="2"><font color="#FFFFFF" face="Verdana" size="2"><b>Image Verification</b></font></td>
</tr>
<tr>
<td style="padding: 2px;" width="10"><img src="http://www.emailmeform.com/turing.php" id="captcha"></td>
<td valign="top"><font color="#000000">Please enter the text from the image</font> <br><input type="text" name="Turing" value="" maxlength="100" size="10">
[ <a href="#" onclick=" document.getElementById('captcha').src = document.getElementById('captcha').src + '?' + (new Date()).getMilliseconds()">Refresh Image</a> ] [ <a href="http://www.emailmeform.com/?v=turing&pt=popup" onClick="window.open('http://www.emailmeform.com/?v=turing&pt=popup','_blank','width=400, height=300, left=' + (screen.width-450) + ', top=100');return false;">What's This?</a> ]
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td> </td>
<td align="middle">
<input type="text" name="hida2" value="" maxlength="100" size="3" style="display : none;">
<input type="submit" class="btn" value="Send email" name="Submit"> <input type="reset" class="btn" value=" Clear " name="Clear"></td>
</tr>
<tr>
<td colspan=2 align="center">
<br>
</td>
</tr>
</table>

</form>
<html>
<form>

Vivianne

Allen
Nov-16-2008, 09:07 AM
Morning,

I must be missing somthing here I just deletd all the code from the contact me page and copied new code form emailmeform.com pasted it into a text file added "<html>
<form>" at the beginning and the and and my form is still not working

here is the code from the text file

<html>
<form>
...
</table>

</form>
<html> << change to </html>
<form> << remove this

Vivianne
Remove the last <form> and a / in </html>

...
</table>

</form>
</html>

Vivianne
Nov-16-2008, 09:24 AM
Remove the last <form> and a / in </html>

...
</table>

</form>
</html>

Thanks

That solved half the issue

now my CSS code is showing up in the message box

and the footer is missing

Contact Me (http://neamatt.com/gallery/6567236_T7tQa)

Allen
Nov-16-2008, 09:29 AM
Thanks

That solved half the issue

now my CSS code is showing up in the message box

and the footer is missing

Contact Me (http://neamatt.com/gallery/6567236_T7tQa)
You have an unclosed tag in there somewhere starting about here.

...
...
<tr valign="top">
<td nowrap="nowrap"><font color="#ffffff" face="Verdana" size="2">Message</font></td>
<td>
<textarea name="FieldData4" cols="60" rows="10"> about here

Allen
Nov-16-2008, 09:34 AM
Thanks

That solved half the issue

now my CSS code is showing up in the message box

and the footer is missing

Contact Me (http://neamatt.com/gallery/6567236_T7tQa)
Put this in and see if it works. Tweaked the Image Verification background color also.

<html>
<center>
<form>
<form method="post" action="http://www.emailmeform.com/fid.php?formid=46028" enctype="multipart/form-data" accept-charset="UTF-8">
<table cellpadding="2" cellspacing="0" border="0" bgcolor="#000000">
<tr>
<td>
<font face="Verdana" size="2" color="#ffffff"></font>
<div style="" id="mainmsg"> </div>

</td>
</tr>
</table>

<br>

<table cellpadding="2" cellspacing="0" border="0" bgcolor="#000000">

<tr valign="top">
<td nowrap><font face="Verdana" size="2" color="#ffffff">Your Name</font></td>
<td>
<input type="text" name="FieldData0" value="" maxlength="100" size="30"> </td>
</tr>

<tr valign="top">
<td nowrap><font face="Verdana" size="2" color="#ffffff">Your Email Address</font></td>
<td>
<input type="text" name="FieldData1" value="" maxlength="100" size="30"> </td>
</tr>

<tr valign="top">
<td nowrap><font face="Verdana" size="2" color="#ffffff">Phone Number</font></td>
<td>
<input type="text" name="FieldData2" value="" maxlength="100" size="30"> </td>
</tr>

<tr valign="top">
<td nowrap><font face="Verdana" size="2" color="#ffffff">Subject</font></td>
<td>
<input type="text" name="FieldData3" value="" maxlength="100" size="60"> </td>
</tr>

<tr valign="top">
<td nowrap><font face="Verdana" size="2" color="#ffffff">Message</font></td>
<td>
<textarea name="FieldData4" cols="60" rows="10"></textarea><br> <div style="position: absolute; left: 1800px; top: 20px;"><a href="http://www.captchacreator.com">php captcha</a></div></td>
</tr>

<tr>
<td colspan="2">
<table cellpadding=5 cellspacing=0 bgcolor="#E4F8E4" width="100%">
<tr bgcolor="#aaa">
<td colspan="2"><font color="#FFFFFF" face="Verdana" size="2"><b>Image Verification</b></font></td>
</tr>
<tr bgcolor="#ccc">
<td style="padding: 2px;" width="10"><img src="http://www.emailmeform.com/turing.php" id="captcha"></td>
<td valign="top"><font color="#000000">Please enter the text from the image</font> <br><input type="text" name="Turing" value="" maxlength="100" size="10">
[ <a href="#" onclick=" document.getElementById('captcha').src = document.getElementById('captcha').src + '?' + (new Date()).getMilliseconds()">Refresh Image</a> ] [ <a href="http://www.emailmeform.com/?v=turing&pt=popup" onClick="window.open('http://www.emailmeform.com/?v=turing&pt=popup','_blank','width=400, height=300, left=' + (screen.width-450) + ', top=100');return false;">What's This?</a> ]
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td> </td>
<td align="middle">
<input type="text" name="hida2" value="" maxlength="100" size="3" style="display : none;">
<input type="submit" class="btn" value="Send email" name="Submit"> <input type="reset" class="btn" value=" Clear " name="Clear"></td>
</tr>
<tr>
<td colspan=2 align="center">
<br>
</td>
</tr>
</table>
</form>
</center>
</html>

Vivianne
Nov-16-2008, 09:39 AM
:bow :bow

A 1000 Thank you's

Vivianne

Vivianne
Nov-16-2008, 09:44 AM
:scratch

How do I remove

"This is a brand new gallery with no photos."
:scratch

Allen
Nov-16-2008, 09:45 AM
:bow :bow

A 1000 Thank you's

Vivianne
Add this to yoru CSS to remvoe the no photos statement.

.gallery_6567236 .nophotos h3 {display: none;}

Also to get rid of the green boxes repaste the html in again. I edited it to
change the background color.