Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 25

Thread: Php... JS.. CSS

  1. #1
    Junior Member
    Join Date
    Mar 2013
    Posts
    13
    Member #
    35706
    Hi im a noob at this so theres that outta the way, but I have created a website and dont know how to make the form that I have created to send to an email its a complicated form well for me it is so i need some help...

    Thank you in advance

  2.  

  3. #2
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,716
    Member #
    5580
    Liked
    718 times
    You'll need to post your scripts so we can see the form and the PHP script.


  4. #3
    Junior Member
    Join Date
    Mar 2013
    Posts
    13
    Member #
    35706
    It dosent let me upload the files

  5. #4
    Junior Member
    Join Date
    Mar 2013
    Posts
    13
    Member #
    35706
    Code:
    <!-- // BEGIN RESERVATION FORM -->Pick
    <div class="lft">
    <h2>Instant Quote</h2>
    <div class="field">
    <label><b>Pickup Location:</b></label>
    <select name="pickup" class="full" onchange="showHide();" title="Pickup Location">
    <option value="">Pickup Location</option>
    
    </select>
    </div>
    <div class="field">
    <label><b>Drop Off Location:</b></label>
    <select name="dropoff" class="full" onchange="showHide();" title="Drop Off Location">
    <option value="">Drop Off Location</option>
    <optgroup label="Common Locations">
    
    </div>
    <!-- // BEGIN THE HIDING FORM -->
    <div id="additionalInfo">
    <div class="slide"> <strong>
    <label>Pickup Location Information</label>
    </strong><br />
    Place Name (optional) e.g., Hotel or Park<br />
    <input type="text" name="pickupPlaceName" class="full" title="Pickup Place Name" />
    <br />
    Address or Intersection<br />
    <input type="text" name="pickupAddress" class="full" title="Pickup Address" />
    <br />
    <label>City</label>
    <label>State</label>
    <label>Zip</label>
    <br />
    <input type="text" name="pickupCity" class="city" title="Pickup City" />
    <input type="text" name="pickupState" value="WA" class="state" title="Pickup State" />
    <input type="text" name="pickupZip" class="zip" title="Pickup Zip" />
    </div>
    <div class="slide"> <strong>
    <label>Drop Off Location Information</label>
    </strong><br />
    Place Name (optional) e.g., Hotel or Park<br />
    <input type="text" name="dropoffPlaceName" class="full" title="Drop Off Place Name" />
    <br />
    Address or Intersection<br />
    <input type="text" name="dropoffAddress" class="full" title="Drop Off Address" />
    <br />
    <label>City</label>
    <label>State</label>
    <label>Zip</label>
    <br />
    <input type="text" name="dropoffCity" class="city" title="Drop Off City" />
    <input type="text" name="dropoffState" value="WA" class="state" title="Drop Off State" />
    <input type="text" name="dropoffZip" class="zip" title="Drop Off Zip" />
    </div>
    </div>
    <!-- // END THE HIDING FORM -->
    <div class="field">
    <label><b>Pickup Date:</b></label>
    <select name="ReservationDate_month" class="month" title="Month">
    <option value="">Month</option>
    <option value="January">January</option>
    <option value="February">February</option>
    <option value="March">March</option>
    <option value="April">April</option>
    <option value="May">May</option>
    <option value="June">June</option>
    <option value="July">July</option>
    <option value="August">August</option>
    <option value="September">September</option>
    <option value="October">October</option>
    <option value="November">November</option>
    <option value="December">December</option>
    </select>
    <select name="ReservationDate_day" class="day" title="Day">
    <option value="">Day</option>
    <option value="1">1</option>
    <option value="2">2</option>
    <option value="3">3</option>
    <option value="4">4</option>
    <option value="5">5</option>
    <option value="6">6</option>
    <option value="7">7</option>
    <option value="8">8</option>
    <option value="9">9</option>
    <option value="10">10</option>
    <option value="11">11</option>
    <option value="12">12</option>
    <option value="13">13</option>
    <option value="14">14</option>
    <option value="15">15</option>
    <option value="16">16</option>
    <option value="17">17</option>
    <option value="18">18</option>
    <option value="19">19</option>
    <option value="20">20</option>
    <option value="21">21</option>
    <option value="22">22</option>
    <option value="23">23</option>
    <option value="24">24</option>
    <option value="25">25</option>
    <option value="26">26</option>
    <option value="27">27</option>
    <option value="28">28</option>
    <option value="29">29</option>
    <option value="30">30</option>
    <option value="31">31</option>
    </select>
    <select name="ReservationDate_year" class="year" title="Year">
    <option value="">Year</option>
    <option value="2013">2013</option>
    <option value="2014">2014</option>
    <option value="2015">2015</option>
    <option value="2016">2016</option>
    </select>
    </div>
    <div class="field">
    <label><b>Pickup Time:</b></label>
    <select name="ReservationDate_hour" class="hour" title="Hour">
    <option value="">Hour</option>
    <option value="0">12 AM</option>
    <option value="1">1 AM</option>
    <option value="2">2 AM</option>
    <option value="3">3 AM</option>
    <option value="4">4 AM</option>
    <option value="5">5 AM</option>
    <option value="6">6 AM</option>
    <option value="7">7 AM</option>
    <option value="8">8 AM</option>
    <option value="9">9 AM</option>
    <option value="10">10 AM</option>
    <option value="11">11 AM</option>
    <option value="12">12 PM</option>
    <option value="13">1 PM</option>
    <option value="14">2 PM</option>
    <option value="15">3 PM</option>
    <option value="16">4 PM</option>
    <option value="17">5 PM</option>
    <option value="18">6 PM</option>
    <option value="19">7 PM</option>
    <option value="20">8 PM</option>
    <option value="21">9 PM</option>
    <option value="22">10 PM</option>
    <option value="23">11 PM</option>
    </select>
    :
    <select name="ReservationDate_minutes" class="minutes" title="Minutes">
    <option value="">Minutes</option>
    <option value="00">00</option>
    <option value="05">05</option>
    <option value="10">10</option>
    <option value="15">15</option>
    <option value="20">20</option>
    <option value="25">25</option>
    <option value="30">30</option>
    <option value="35">35</option>
    <option value="40">40</option>
    <option value="45">45</option>
    <option value="50">50</option>
    <option value="55">55</option>
    </select>
    </div>
    <div class="field">
    <label>Passengers:</label>
    <select name="passengers" onchange="showHide();" class="select" title="Passengers">
    <option value="">Passengers</option>
    <option value="1">1</option>
    <option value="2">2</option>
    <option value="3">3</option>
    <option value="4">4</option>
    <option value="5">5</option>
    <option value="6">6</option>
    <option value="7">7</option>
    <option value="8">8</option>
    <option value="9">9</option>
    <option value="10">10</option>
    <option value="10+">More Than 10</option>
    </select>
    </div>
    </div>
    <div class="cntr">
    <h2>Place Reservation</h2>
    <div class="field">
    <label>Name:</label>
    <input type="text" name="name" value="Name" class="text" onfocus="ClearInputText('reservations', 'name', 'Name');" onblur="AddInputText('reservations', 'name', 'Name');" title="Name" />
    </div>
    <div class="field">
    <label>Email:</label>
    <input type="text" name="email" value="Email" class="text" onfocus="ClearInputText('reservations', 'email', 'Email');" onblur="AddInputText('reservations', 'email', 'Email');" title="Email" />
    </div>
    <div class="field">
    <label>Phone Number:</label>
    <input type="text" name="phone" value="Phone Number" class="text" onfocus="ClearInputText('reservations', 'phone', 'Phone Number');" onblur="AddInputText('reservations', 'phone', 'Phone Number');" title="Phone" />
    </div>
    <div class="field">
    <label>Enter Code Here:</label>
    <input type="text" name="number" value="Enter Code Here" class="code" onfocus="ClearInputText('reservations', 'number', 'Enter Code Here');" onblur="AddInputText('reservations', 'number', 'Enter Code Here');" title="Enter Code Here" />
    <div class="captcha"><form action="php_captcha.php" method="get" enctype="application/x-www-form-urlencoded" name="php_Captcha"></form></div>
    </div>
    <div class="code-instructions"> Please enter the string in the form field. </div>
    </div>
    <div class="lft">
    <h2>Estimated Quote</h2>
    <div class="field">
    <input type="text" value="Form Not
    working" onchange="showHide();" name="est" class="estimate" />
    </div>
    <div class="estimate-text"> The price is all inclusive. No hidden fees. </div>
    <input type="hidden" name="submission" value="no" />
    <input type="hidden" name="hiddenEst" />
    <input type="submit" name="submit-reservation" value="" title="Submit Reservation" class="submit-reservation" />
    </div>
    </div>
    </form>

  6. #5
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,716
    Member #
    5580
    Liked
    718 times
    You didn't post the <form> tag that comes at the beginning.
    Is what you posted your entire script?

    Also, enclose your code with 'code' in square brackets.


  7. #6
    Junior Member
    Join Date
    Mar 2013
    Posts
    13
    Member #
    35706
    I took some of the options out.. so it could fit
    heres at the top of the page via forms im using
    also took out the meta tags and all that
    <script type="text/javascript" src="/js/functions.js"></script>
    <script type="text/javascript" src="/js/form.new.js"></script>
    <script type="text/javascript" src="/js/validate.new.js"></script>
    <script type="text/javascript" src="/js/jquery.js"></script>
    <style type="text/css">
    </style>
    </head>

    <body>
    <a name="top"></a>

  8. #7
    Junior Member
    Join Date
    Mar 2013
    Posts
    13
    Member #
    35706
    what else is needed??

  9. #8
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,716
    Member #
    5580
    Liked
    718 times
    The line somewhere before the form items ...

    Might look like this:

    <form method="post" action="somethingsomething.php">


  10. #9
    Junior Member
    Join Date
    Mar 2013
    Posts
    13
    Member #
    35706
    <link rel="stylesheet" type="text/css" href="CSS/StyleSheet.css"/>
    this is the only other thing b4 the forms... then b4 I have the meta tags

  11. #10
    Junior Member
    Join Date
    Mar 2013
    Posts
    13
    Member #
    35706
    oh and this


    <form method="post" name="reservations" action="/reservations.php" OnSubmit="return SubmitReservationForm(this)">
    <div id="reservations">


Page 1 of 3 1 2 3 LastLast

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 10:20 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com