1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Simple form required

Discussion in 'C#' started by Cheap SEO Services, May 21, 2006.

  1. #1
    Hi Peeps,

    Just need a simple bit of code for a form to place on my asp page. Obviusly I will placing it my includes file.

    Form fields to be as follows:

    Name
    Testimonial
    email (would be good if the email that is entered is converted to raw html code!)
    Post button
    "Your submission has been sent. Thank You!" text to appear after posting.

    See! Not too difficult for one of you geniuses out there.

    Thx.
    Col
     
    Cheap SEO Services, May 21, 2006 IP
  2. amitpatel_3001

    amitpatel_3001 Results Follow Patience

    Messages:
    14,074
    Likes Received:
    1,178
    Best Answers:
    0
    Trophy Points:
    430
    #2
    I have used a simply form here - http://submission.hiifii.com/Contact.htm
    When the form is filled you get the message you posted above.

    The code for this is -
    
       <form name=contactus action=contactus.php method=post>
       <div align="center">
          <table border="0" cellpadding="0" cellspacing="0" width="526">
             <tr>
                <td align=left width="99"><font face="Verdana" size="2">Your Name:</font></td>
    
                <td width="4" align="left">&nbsp;</td>
                <td width="423" align="left"><input size=35 maxlength=35 type=text name=name
                   style="font-family: Courier New; font-size: 10pt"></td></tr>
             <tr>
                <td align=left width="99"><font face="Verdana" size="2">Your Email Address:</font></td>
                <td width="4" align="left">&nbsp;</td>
                <td width="423" align="left"><input size=35 maxlength=35 type=text name=email
                   style="font-family: Courier New; font-size: 10pt"></td></tr>
             <tr>
                <td valign=top align=left width="99"><font face="Verdana" size="2">Contents:</font><p>
    
                <font face="Verdana" size="2">1.Website URL</font></p>
                <p><font face="Verdana" size="2">2.Title</font></p>
                <p><font face="Verdana" size="2">3. Description</font></p>
                <p><font face="Verdana" size="2">4.Keywords</font></td>
                <td width="4">&nbsp;</td>
                <td width="423">
                <textarea name=contents rows=12 cols=49
                   style="font-family: Courier New; font-size: 10pt"></textarea></td></tr>
    
             <tr>
                <td width="99" align="left">&nbsp;</td>
                <td width="4">&nbsp;</td>
                <td width="423"><input type=submit value=" Submit " name=submit style="font-size: 10pt; font-family: Tahoma"></td></tr>
          </table>
       </div>
    </form>
    
    Code (markup):
    This should be in your main site where you want the details to be submitted.

    
    
    <html>
    
    <head>
    .
    .
    .
    </head>
    
    <body>
    Your Order has been recieved.
    Our Staff will Reply you as soon as possible
    </body>
    
    </html>
    
    Code (markup):
    Save this as contactus.php
    Hope this is what u wanted.
     
    amitpatel_3001, May 22, 2006 IP