Menu

Multiple Options to pick from

Help
mazztech
2007-02-18
2013-06-03
  • mazztech

    mazztech - 2007-02-18

    Hey everyone, i've been using this formgen software that I recieved from my webserver, and its been great!  I've created about 4-5 different forms, but i've run into a problem.  I want to make a form where the user and choose multiple products on a page, the type in there information and it sends me an email of which products they wanted. 

    By this I mean let says theres product A, B & C.  But theres 5 different colors for A, B, & C.  What I did was create a check box for each color so the user could just pick 3 out of the 15 and have it send me those three, well formgen didn't like this.  Is there a way I could do this within formgen using text or radio buttons?  I tried both but Neither seemed to work how I wanted it to.  Thanks for your time everyone,

    -Dan

     
    • TNTEverett

      TNTEverett - 2007-02-19

      There is a way, I have done it.  I've done it using a couple methods.  The first is to include all the form entry and button options and then modify the form1.html to return the proper variable values.  The other was to create a form with one of each type of form entry method I need and then modify both the form1.html file and the process.php file to handle the form and form variables that I end up with. 
      Using form buttons and check boxes gets a bit more complicated but once you've done it once or twice it's pretty easy.  You need to consider how the form is used so you can control the use of the buttons and check boxes such that you don't allow illegal combinations.
      Check out this link for some ideas and examples:
      http://www.w3schools.com/html/html_forms.asp

       

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.