Menu

All fields filled in, but error says not

Help
Anonymous
2004-07-22
2004-07-22
  • Anonymous

    Anonymous - 2004-07-22

    Hoping for some quick help for something that is probably very simple I have overlooked.  I created my first form and tested it. I made some cosmetic modifications and tested it again. All working fine until this point. Then I added a bunch of new options to the pull-down list, by editing the form manually. Now when I submit a test it tells me

    "The following errors occurred while processing your form input.
    You did not enter one or more of the required fields. Please go back and try again."  (ps - occurred is actually misspelled in the download, but I can fix that on my own :))

    Is there someplace else I need to change to reflect the new drop-down options so I stop getting that error? Given the cosmetic work I did on the form (to fit in with the rest of the site), I am dreading having to recreate the form from scratch since there are a lot of options in the drop down.  The form is here http://powerlogix.com/support/registration/register_good.html, if anyone wants to verify the error. I'm not a scripter so I am really not sure where to look for what is causing the error. If it matters, I am storing the data in a flat file, not in a mysql database.

    Was really hoping to get this form live today :(

     
    • Musawir Ali

      Musawir Ali - 2004-07-22

      Here's the problem. Apparantly, you added the option "Select Model" in your drop down menu field. This option has value of "" (empty), and you have set the drop down field to be required. So whenever the value is empty, the form will complain. What you need to do is open up process.php . Locate where it says $ProductYouAreRegistering == "" , and delete it. That would fix the problem.

       
      • Anonymous

        Anonymous - 2004-07-22

        Thank you for your prompt support. Unfortunately, that did not solve the problem and the error still appears.  So I removed that empty option to see if that would help, but that didn't work either. Any additional help would be appreciated.

         
        • Musawir Ali

          Musawir Ali - 2004-07-22

          No that has to definately fix it, since thats the only place where that error checking occurs. You must be doing something wrong. You might want to double check it.

           

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.