Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3278858
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T19:31:39+00:00 2026-05-17T19:31:39+00:00

I am making a simple registration form and cannot get one of the select

  • 0

I am making a simple registration form and cannot get one of the select fields to submit. My HTML and PHP all validates fine can anyone please help? My PHP looks like this:

<?php

$where_form_is="http://".$_SERVER['SERVER_NAME'].strrev(strstr(strrev($_SERVER['PHP_SELF']),"/"));

// Checkbox handling
$field_9_opts = $_POST['field_9'][0];

mail("me@mymail.co.uk","A message from the  Website","A message from the Website:

Their name:  " . $_POST['field_1'] . " 
Their email address:  " . $_POST['field_2'] . " 
Their contact number:  " . $_POST['field_3'] . " 
The customer would prefer to be contacted:  " . $_POST['field_4'] . " 
The type of property the customer is interested in:  " . $_POST['field_5'] . " 
Their price range:  " . $_POST['field_6'] . " 
Their reason for purchase:  " . $_POST['field_7'] . "
They heard about Parkway Newbury from:  " . $_POST['field_8'] . " 
Keep me updated on news on Parkway Living, Newbury:  $field_9_opts 

");

include("confirm.html");

?>

and my HTML looks like this:

<form method="post" enctype="multipart/form-data" action="processor.php">
<ul id="mainForm_1">

<li id="fieldBox_1">
<label>Your name&nbsp;*</label>
<input type="text" name="field_1" id="field_1" size="20" value="" />
</li>

<li id="fieldBox_2">
<label>Your email address&nbsp;*</label>
<input type="text" name="field_2" id="field_2" size="20" value="" />
</li>

<li id="fieldBox_3">
<label>Your contact number&nbsp;*</label>
<input type="text" name="field_3" id="field_3" size="20" value="" />
</li>

<li id="fieldBox_4">
<label>I would prefer to be contacted&nbsp;*</label>
<select name="field_4" id="field_4">
    <option value="">Please select from the list</option>
    <option value="In the morning">In the morning</option>
    <option value="In the afternoon">In the afternoon</option>
    <option value="In the evening">In the evening</option>
    <option value="Anytime">Anytime</option>
</select>
</li>

<li id="fieldBox_5">
<label>Property type&nbsp;*</label>
<select name="field_5" id="field_5">
    <option value="">Please select from the list</option>
    <option value="Duplex">Duplex</option>
    <option value="Apartment">Apartment</option>
    <option value="Both">Both</option>
</select>
</li>

<li id="fieldBox_6">
<label>Prices from&nbsp;*</label>
<select name="field_6" id="field_6">
    <option value="">Please select from the list</option>
    <option value="upto &pound;200,000">upto &pound;200,000</option>
    <option value="&pound;200,000 - &pound;300,000">&pound;200,000 - &pound;300,000</option>
    <option value="&pound;300,000 - &pound;400,000">&pound;300,000 - &pound;400,000</option>
    <option value="Above &pound;400,000">Above &pound;400,000</option>
</select>
</li>

<li id="fieldBox_7">
<label>Reason for purchase&nbsp;*</label>
<select name="field_7" id="field_7">
    <option value="">Please select from the list</option>
    <option value="Moving into the area">Moving into the area</option>
    <option value="First time buyer">First time buyer</option>
    <option value="Downsizing">Downsizing</option>
    <option value="Need more space">Need more space</option>
</select>
</li>

<li id="fieldBox_8">
<label>Where did you hear about Parkway Living?&nbsp;*</label>
<select name="field_8" id="field_8">
    <option value="">Please select from the list</option>
    <option value="Website">Website</option>
    <option value="National advertising">National Advertising</option>
    <option value="Local advertising">Local Advertising</option>
    <option value="Recommendation">Recommendation</option>
    <option value="Selling agent">Selling agent</option>
    <option value="Site visit">Site visit</option>
    <option value="Other">Other</option>
</select>
</li>

<li id="fieldBox_9">
<label>Keep me updated on news on Parkway Living, Newbury&nbsp;*</label>
<span>
    <input type="checkbox" name="field_9[]" id="field_9_option_1" value="yes" />
</span>
</li>

<li>
<input id="saveForm" type="submit" value="Submit" />
</li>
</ul>
</form>

The field that will not submit is field 8. I would appreciate any advice. Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T19:31:40+00:00Added an answer on May 17, 2026 at 7:31 pm

    Your select name should be field_8[]

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am making a simple select from mySQL using PHP. I am doing something
I'm making a simple scheduler with C# in .Net. All it does is execute
I'm making a simple form to create polls, therefore I want the possibility to
I'm making a simple tool that will get a string of MySQL commands and
I'm making a simple cart program in php. What the code below does is
I am making a simple game in order to learn a new language. I
I'm making a simple 2 player game in XNA and started looking into saving
If I'm making a simple grid based game, for example, I might have a
I'm making a simple 2D game for the iPhone. It's based on CrashLanding. so
I'm making a simple Image Debugger Visualizer. Code is below. I'm not sure if

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.