Skip navigation
Currently Being Moderated

CGI form error

Dec 6, 2012 6:22 PM

Tags: #form #godaddy #cgi

this is my form code embeded in a web page, i am using's cgi script,  am only getting entries f0r the the first feild and the name of the secod feild, no other information is being dellivered in the email, even the feild names are not being delivered...please help




<div id="apDiv8">

                <div id="container2" class="ltr">


action="cgi/gdform.cgi" method="post" enctype="text/plain" name="contact" target="_top" class="text" id="contact" novalidate autocomplete="off">

                  <header id="header" class="info">

                    <h2>Contact Us</h2>




                      <li id="foli6" class="notranslate      ">

                        <label class="desc" id="title6" for="Name"> First Name <span id="req_6" class="req">*</span> </label>


                          <input id="Name" name="Name" type="text" class="field text medium" value="" maxlength="255" tabindex="1" onkeyup="" required />



                      <li id="foli7" class="notranslate      ">

                        <label class="desc" id="Last Name" for="Last Name"> Last Name <span id="req_7" class="req">*</span> </label>


                          <input id="Last Name" name="Last Name" type="text" class="field text medium" value="" maxlength="255" tabindex="2" onkeyup="" required />



                      <li id="foli2" class="notranslate      ">

                        <label class="desc" id="title2" for="Email Address"> Email Address <span id="req_2" class="req">*</span> </label>


                          <input id="Email Address" name="Email Address" type="email" spellcheck="false" class="field text large" value="" maxlength="255" tabindex="3" required />


                        <p class="instruct" id="instruct2"><small>We won't share this with strangers.</small></p>


                       <li id="foli16" class="phone notranslate      ">

<label class="desc" id="Phone Number" for="Phone Number">

Phone Number



<input id="Phone Number" name="Phone Number" type="tel" class="field text" value="" size="3" maxlength="3" tabindex="4" />

<label for="Phone Number">###</label>


<span class="symbol">-</span>


<input id="Phone Number-1" name="Phone Number-1" type="tel" class="field text" value="" size="3" maxlength="3" tabindex="5" />

<label for="Phone Number-1">###</label>


<span class="symbol">-</span>


<input id="Phone Number-2" name="Phone Number-2" type="tel" class="field text" value="" size="4" maxlength="4" tabindex="6" />

<label for="Phone Number-2">####</label>



<li id="foli10" class="complex notranslate      ">

<label class="desc" id="City" for="City">




<select name="state" size="1">

<option selected value="">State...</option>

<option value="None">None</option>

<option value="">-- UNITED STATES --</option>

<option value="Alabama">Alabama</option>

<option value="Alaska">Alaska</option>

<option value="Arizona">Arizona</option>

<option value="Arkansas">Arkansas</option>

<option value="California">California</option>

<option value="Colorado">Colorado</option>

<option value="Connecticut">Connecticut</option>

<option value="Delaware">Delaware</option>

<option value="Florida">Florida</option>

<option value="Georgia">Georgia</option>

<option value="Hawaii">Hawaii</option>

<option value="Idaho">Idaho</option>

<option value="Illinois">Illinois</option>

<option value="Indiana">Indiana</option>

<option value="Iowa">Iowa</option>

<option value="Kansas">Kansas</option>

<option value="Kentucky">Kentucky</option>

<option value="Louisiana">Louisiana</option>

<option value="Maine">Maine</option>

<option value="Maryland">Maryland</option>

<option value="Massachusetts">Massachusetts</option>

<option value="Michigan">Michigan</option>

<option value="Minnesota">Minnesota</option>

<option value="Mississippi">Mississippi</option>

<option value="Missouri">Missouri</option>

<option value="Montana">Montana</option>

<option value="Nebraska">Nebraska</option>

<option value="Nevada">Nevada</option>

<option value="New Hampshire">New Hampshire</option>

<option value="New Jersey">New Jersey</option>

<option value="New Mexico">New Mexico</option>

<option value="New York">New York</option>

<option value="North Carolina">North Carolina</option>

<option value="North Dakota">North Dakota</option>

<option value="Ohio">Ohio</option>

<option value="Oklahoma">Oklahoma</option>

<option value="Oregon">Oregon</option>

<option value="Pennsylvania">Pennsylvania</option>

<option value="Rhode Island">Rhode Island</option>

<option value="South Carolina">South Carolina</option>

<option value="South Dakota">South Dakota</option>

<option value="Tennessee">Tennessee</option>

<option value="Texas">Texas</option>

<option value="Utah">Utah</option>

<option value="Vermont">Vermont</option>

<option value="Virginia">Virginia</option>

<option value="Washington">Washington</option>

<option value="West Virginia">West Virginia</option>

<option value="Wisconsin">Wisconsin</option>

<option value="Wyoming">Wyoming</option>

<option value="">-- CANADA --</option>

<option value="Alberta">Alberta</option>

<option value="British Columbia">British Columbia</option>

<option value="Manitoba">Manitoba</option>

<option value="New Brunswick">New Brunswick</option>

<option value="Newfoundland and Labrador">Newfoundland and Labrador</option>

<option value="Northwest Territories">Northwest Territories</option>

<option value="Nova Scotia">Nova Scotia</option>

<option value="Nunavut">Nunavut</option>

<option value="Ontario">Ontario</option>

<option value="Prince Edward Island">Prince Edward Island</option>

<option value="Quebec">Quebec</option>

<option value="Saskatchewan">Saskatchewan</option>

<option value="Yukon Territory">Yukon Territory</option>

<option value="">-- AUSTRALIA --</option>

<option value="Australian Capital Territory">Australian Capital Territory</option>

<option value="New South Wales">New South Wales</option>

<option value="Northern Territory">Northern Territory</option>

<option value="Queensland">Queensland</option>

<option value="South Australia">South Australia</option>

<option value="Tasmania">Tasmania</option>

<option value="Victoria">Victoria</option>

<option value="Western Australia">Western Australia</option>




                      <li id="foli1"

class="notranslate      ">

                        <label class="desc" id="Message" for="Message"> Message <span id="req_1"></span> </label>


                          <textarea id="Message"


class="field textarea medium"


rows="10" cols="50"



required  ></textarea>


                        <p class="instruct" id="instruct1"><small>This field is required.</small></p>


                      <li class="buttons ">


                          <input id="saveForm" name="saveForm" class="btTxt submit"

    type="submit" value="Submit"




                    </ul><input name="recipient" type="hidden" value="">




  • Currently Being Moderated
    Dec 6, 2012 7:46 PM   in reply to sandyrojito

    What does the goDaddy cgi file code look like?

    Mark as:
  • Currently Being Moderated
    Dec 7, 2012 4:58 AM   in reply to sandyrojito

    I think the problem might be related to using two words to name your fields.  The names you assign are essentially variables, and variable names cannot have spaces in them.  Try getting rid of the spaces in the id and name parameters.  Also, I would not use dashes in them either (Phone Number-2  change to PhoneNumber2, etc).

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points