Menu

Help - I answer all fields, it says I didnt

Anonymous
2004-07-06
2004-07-15
  • Anonymous

    Anonymous - 2004-07-06

    Even after I fill in every field in the form, every time I try to submit it, I get this message:

    The following errors occured while processing your form input.
    You did not enter one or more of the required fields. Please go back and try again.

    I can't figure out why this is happening, though it may have something to do with me adding more options for the pull-down menus.  I'd greatly appreciate any help.  My form code is below:
    Thank you!

    <form enctype='multipart/form-data' action='process.php' method='post'>
    <table border="1" cellspacing="1" style="border-collapse: collapse" id=border2 bordercolor="#000066" width="95%" cellpadding="5">
    <tr>
    <td colspan="3" bgcolor="#B5CBEF" height="17" width="100%" bordercolor="#FFFFFF" background="http://www.cruisecrazies.com/forums/style_images/1/tile_back2.jpg">
    <p align="left\><b><font face="Verdana" size="2" color="#FFFFFF">
    <B><font face='Verdana' size=2 color='#FFFFFF'>
    Cruise Reviews
    &nbsp;
    </font><font face="Verdana" size="2" color="#000066"> </font></b></td>
    </tr><tr><td colspan="3" bgcolor="#B5CBEF" height="16" width="100%" bordercolor="#FFFFFF" background="http://www.cruisecrazies.com/forums/style_images/1/tile_back.gif"><font size="2" face="Verdana"><font face="Verdana" size="2" color="#000066">
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img border="0" src="http://cruisecrazies.com/forums/style_images/1/nav_m.gif" width="8" height="8"><FONT COLOR="#FFFFFF">&nbsp;Add Review</FONT>
    &nbsp;
    </font></b></font></td></tr><tr><td colspan="3" bgcolor="#ffff7d" height="16" width="100%" bordercolor="#FFFFFF"><font size="1" face="Verdana">Please fill in all fields marked with a *</font></td></tr><tr><td height="30" width="25" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <img border="0" src="http://cruisecrazies.com/forums/style_images/1/nav.gif" width="16" height="16"></td><td height="30" width="195" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <font face="Verdana" size="2">Name:</td>
    <td height="30" width="469" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <font face="Verdana"><input type=text name='Name' size=30>*</td></tr><tr><td height="30" width="15" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <img border="0" src="http://cruisecrazies.com/forums/style_images/1/nav.gif" width="16" height="16"></td><td height="30" width="195" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <font face="Verdana" size="2">Member Name:</td>
    <td height="30" width="469" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <font face="Verdana"><input type=text name='MemberName' size=30>*</td></tr><tr><td height="30" width="15" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <img border="0" src="http://cruisecrazies.com/forums/style_images/1/nav.gif" width="16" height="16"></td><td height="30" width="195" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <font face="Verdana" size="2"># of Cruises You've Been on:</td>
    <td height="30" width="469" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <font face="Verdana"><input type=text name='NumberofCruisesYouHaveBeenon' size=10>*</td></tr>

    <tr><td HEIGHT=10 BGCOLOR="#ffff7d" colspan=3><font size="1" face="Verdana">General Info:</td></tr>

    <tr><td height="30" width="15" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <img border="0" src="http://cruisecrazies.com/forums/style_images/1/nav.gif" width="16" height="16"></td><td height="30" width="195" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <font face="Verdana" size="2">Ship:</td>
    <td height="30" width="469" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <font face="Verdana"><input type=text name='Ship' size=30>*</td></tr><tr><td height="30" width="15" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <img border="0" src="http://cruisecrazies.com/forums/style_images/1/nav.gif" width="16" height="16"></td><td height="30" width="195" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <font face="Verdana" size="2">Sailing Date:</td>
    <td height="30" width="469" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <font face="Verdana"><input type=text name='SailingDate' size=10>*</td></tr>

    <tr><td height="30" width="15" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <img border="0" src="http://cruisecrazies.com/forums/style_images/1/nav.gif" width="16" height="16"></td><td height="30" width="195" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <font face="Verdana" size="2"># of Days:</td>
    <td height="30" width="469" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <font face="Verdana"><input type=text name='# of Days' size=10>*</td></tr>

    <tr><td height="30" width="15" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <img border="0" src="http://cruisecrazies.com/forums/style_images/1/nav.gif" width="16" height="16"></td><td height="30" width="195" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <font face="Verdana" size="2">Destination:</td>
    <td height="30" width="469" bgcolor="#EFF3F7" bordercolor="#FFFFFF">

    <font face="Verdana"><select name='Destination'><option value='--Select a Destination--'>--Select a Destination--<option value='Alaska'>Alaska<option value='Africa'>Africa<option value='Asia'>Asia
    <option value='Australia/New Zealand'>Australia/New Zealand
    <option value='Bermuda'>Bermuda<option value='Bahamas'>Bahamas
    <option value='Canada/New England'>Canada/New England
    <option value='Eastern Caribbean'>Eastern Caribbean
    <option value='Western Caribbean'>Western Caribbean
    <option value='Southern Caribbean'>Southern Caribbean
    <option value='Cruise to Nowhere'>Cruise to Nowhere
    <option value='Hawaii'>Hawaii
    <option value='United States'>United States
    <option value='Mexican Riviera'>Mexican Riviera
    <option value='Northern Europe'>Northern Europe
    <option value='Eastern Mediterranean'>Eastern Mediterranean
    <option value='Western Mediterranean'>Western Mediterranean
    <option value='Pacific Coast'>Pacific Coast
    <option value='South America'>South America
    <option value='Central America/Panama Canal'>Central America/Panama Canal
    <option value='South Pacific'>South Pacific
    <option value='Transatlantic'>Transatlantic
    </select>*</td></tr>

    <tr><td HEIGHT=10 BGCOLOR="#ffff7d" colspan=3><font size="1" face="Verdana">Please Rate the Following:</td></tr>
    <tr><td height="30" width="15" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <img border="0" src="http://cruisecrazies.com/forums/style_images/1/nav.gif" width="16" height="16"></td><td height="30" width="195" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <font face="Verdana" size="2">Entertainment:</td>
    <td height="30" width="469" bgcolor="#EFF3F7" bordercolor="#FFFFFF">

    <font face="Verdana"><select name='Entertainment'><option value='--Select One--'>--Select One--<option value='Excellent'>Excellent<option value='Very Good'>Very Good<option value='Good'>Good<option value='Fair'>Fair<option value='Poor'>Poor</select>*</td></tr><tr><td height="30" width="15" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <img border="0" src="http://cruisecrazies.com/forums/style_images/1/nav.gif" width="16" height="16"></td><td height="30" width="195" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <font face="Verdana" size="2">Service:</td>
    <td height="30" width="469" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <font face="Verdana"><select name='Service'><option value='--Select One--'>--Select One--<option value='Excellent'>Excellent<option value='Very Good'>Very Good<option value='Good'>Good<option value='Fair'>Fair<option value='Poor'>Poor</select>*</td></tr><tr><td height="30" width="15" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <img border="0" src="http://cruisecrazies.com/forums/style_images/1/nav.gif" width="16" height="16"></td><td height="30" width="195" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <font face="Verdana" size="2">Cabin:</td>
    <td height="30" width="469" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <font face="Verdana"><select name='Cabin'><option value='--Select One--'>--Select One--<option value='Excellent'>Excellent<option value='Very Good'>Very Good<option value='Good'>Good<option value='Fair'>Fair<option value='Poor'>Poor</select>*</td></tr><tr><td height="30" width="15" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <img border="0" src="http://cruisecrazies.com/forums/style_images/1/nav.gif" width="16" height="16"></td><td height="30" width="195" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <font face="Verdana" size="2">Food:</td>
    <td height="30" width="469" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <font face="Verdana"><select name='Food'><option value='--Select One--'>--Select One--<option value='Excellent'>Excellent<option value='Very Good'>Very Good<option value='Good'>Good<option value='Fair'>Fair<option value='Poor'>Poor</select>*</td></tr><tr><td height="30" width="15" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <img border="0" src="http://cruisecrazies.com/forums/style_images/1/nav.gif" width="16" height="16"></td><td height="30" width="195" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <font face="Verdana" size="2">Overall:</td>
    <td height="30" width="469" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <font face="Verdana"><select name='Overall'><option value='--Select One--'>--Select One--<option value='Excellent'>Excellent<option value='Very Good'>Very Good<option value='Good'>Good<option value='Fair'>Fair<option value='Poor'>Poor</select>*</td></tr>

    <tr><td HEIGHT=10 BGCOLOR="#ffff7d" colspan=3><font size="1" face="Verdana">Your Review:</td></tr>

    <tr><td height="30" width="15" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <img border="0" src="http://cruisecrazies.com/forums/style_images/1/nav.gif" width="16" height="16"></td><td height="30" width="195" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <font face="Verdana" size="2">Your Review:</td>
    <td height="30" width="469" bgcolor="#EFF3F7" bordercolor="#FFFFFF">
    <font face="Verdana"><textarea name='MyReview' rows=30 cols=80></textarea>*</td></tr><tr><td colspan="3" bgcolor="#B5CBEF" height="25" width="737" background="http://www.cruisecrazies.com/forums/style_images/1/tile_sub.gif"><p align="center"><font face="Verdana" size="2">
    <input type=submit value='Submit Form'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type=reset value='Reset Form'></font><BR>Thank you for submitting your cruise review.  It will be added shortly.</td></tr>

    </table></form>

     
    • Chaim Krause

      Chaim Krause - 2004-07-15

      I am brand new so take this advice with a pound of salt.

      It looks like you pasted the code from form1.html. I believe the problem is most likely that you included a environmental variable in your form and you marked it as required. Since the user won't be prompted for that value, as it will be assigned a value by process.php, you should not mark it as required.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.