Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 830 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Graphic Design, Multimedia and Photography     Web Design Resources :

Contact Form

Thread title: Contact Form
Closed Thread  
Page 2 of 3 < 1 2 3 >
    Thread tools Search this thread Display Modes  
12-13-2005, 04:06 AM
#11
blindchild02 is offline blindchild02
blindchild02's Avatar
Status: TF Veteran
Join date: Jan 2005
Location:
Expertise:
Software:
 
Posts: 3,258
iTrader: 2 / 100%
 

blindchild02 is on a distinguished road

  Old

when i remove the NAME input field, it doesnt send...

and when its there, when i recieve emails, the name they input is automatically saved into my address book,
which is why i want the name field removed, and the FROM field (when i recieve an email) to be the email they input

12-13-2005, 04:32 AM
#12
Dray is offline Dray
Dray's Avatar
Status: Request a custom title
Join date: Sep 2005
Location: Texas
Expertise:
Software:
 
Posts: 1,139
iTrader: 0 / 0%
 

Dray is on a distinguished road

  Old

contact me on Msn...its under the Age/posts/join date etc.

12-13-2005, 04:51 AM
#13
DogFaceBoy is offline DogFaceBoy
Status: Senior Member
Join date: May 2005
Location: Sask, Canada
Expertise:
Software:
 
Posts: 911
iTrader: 0 / 0%
 

DogFaceBoy is on a distinguished road

  Old

Code:
<?php
                    $email = $_POST['email'] ;
                    $subject = $_POST['subject'] ;
                    $message = $_POST['message'] ;
                    
                    if (!isset($_POST['name'])) {
                ?>
                <form method="post" action="<?php echo("$php_self"); ?>">
                    Email:<br />
                    <input name="email" type="text" style="margin: 0px 0px 5px 0px;" /><br />
                    Subject:<br />
                    <input name="subject" type="text" style="margin: 0px 0px 5px 0px;" /><br />
                    Message:<br />
                    <textarea name="message" rows="" cols="" style="margin: 0px 0px 5px 0px;"></textarea><br />
                    <input name="send" type="submit" class="submit" value="Send" alt="Send" />
                </form>
                <?php
                    }
                    elseif || empty($email) || empty($subject) || empty($message)) {
                    echo("<p>Please fill out the form completely!</p>");
                    }
                    else {
                    mail("likuidsmoke@gmail.com","$subject","$message","From: $email");
                    echo("<p>Your email has been sent, allow a few days for a response. Thank you!</p>");
                    }
                ?>
Try that.

12-13-2005, 12:52 PM
#14
blindchild02 is offline blindchild02
blindchild02's Avatar
Status: TF Veteran
Join date: Jan 2005
Location:
Expertise:
Software:
 
Posts: 3,258
iTrader: 2 / 100%
 

blindchild02 is on a distinguished road

  Old

thanks xbox, but me and dray figured it out

12-13-2005, 03:24 PM
#15
Sancho is offline Sancho
Status: Member
Join date: Dec 2005
Location:
Expertise:
Software:
 
Posts: 292
iTrader: 0 / 0%
 

Sancho is on a distinguished road

  Old

You should make the Message box larger, for the contact page.

12-13-2005, 03:42 PM
#16
blindchild02 is offline blindchild02
blindchild02's Avatar
Status: TF Veteran
Join date: Jan 2005
Location:
Expertise:
Software:
 
Posts: 3,258
iTrader: 2 / 100%
 

blindchild02 is on a distinguished road

  Old

larger, width or height?

12-13-2005, 10:07 PM
#17
Shawon is offline Shawon
Shawon's Avatar
Status: Request a custom title
Join date: Nov 2004
Location: New York City
Expertise:
Software:
 
Posts: 1,164
iTrader: 0 / 0%
 

Shawon is on a distinguished road

Send a message via AIM to Shawon Send a message via MSN to Shawon

  Old

no problem

and u just gotta remove the name field and then where it says if(!isset... change name to email or w/e. thats probably what u fixed anyway just makin sure

12-13-2005, 10:46 PM
#18
blindchild02 is offline blindchild02
blindchild02's Avatar
Status: TF Veteran
Join date: Jan 2005
Location:
Expertise:
Software:
 
Posts: 3,258
iTrader: 2 / 100%
 

blindchild02 is on a distinguished road

  Old

yup yup thanks!

12-14-2005, 04:48 AM
#19
Sancho is offline Sancho
Status: Member
Join date: Dec 2005
Location:
Expertise:
Software:
 
Posts: 292
iTrader: 0 / 0%
 

Sancho is on a distinguished road

  Old

Originally Posted by blindchild02
larger, width or height?
Many contact forms have a good box size for the message area so I'd say make the width and height larger, something like this: http://www.sconner.net/?p=contact

12-14-2005, 04:50 AM
#20
Anthony is offline Anthony
Status: Sin Binner
Join date: Jul 2004
Location: Yorkshire Coast - UK
Expertise:
Software:
 
Posts: 5,911
iTrader: 29 / 91%
 

Anthony is on a distinguished road

Send a message via MSN to Anthony

  Old

This came in handy, thanks

Closed Thread  
Page 2 of 3 < 1 2 3 >


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed