Menu

Checkboxes

Help
2002-11-01
2002-11-03
  • Alexander Aguilar

    Great project. Hadn't heard of it until I saw on frontpage of SF yesterday.  I installed under Windows XP, PHP 4.12 + mySQL 3.23.?

    Are checkboxes working correctly?  I created a simple form with two text fields, a 2 item radio button group and checkbox group of 4 items.
    Though I entered 4 for the checbox type it never asked me for the values of those items and didn't generate the checkboxes.

    Also is there a way to specify the name of the form?  I noticed it always generates form1.html, process.php and admin\configh.inc.php  Well one snafu I ran into is that since an example form already existed with those filenames I was getting an error msg saying it couldn't create (overwrite those files).  Overall, pretty cool application.

     
    • Musawir Ali

      Musawir Ali - 2002-11-02

      Alright, first.. about the checkboxes. Checkboxes can't be "groups of 4 items". Checkboxes are used for boolean (i.e., yes or no answers) such as a field that says "Would you like to subscribe to our news letter " and then a checkbox which the user clicks if he means yes or leaves unchecked.
      If you want groups of 4 items, that a user selects from, you need either a drop down selection menu, or radio buttons. So if you have a field like "Choose your favorite color " and then you have a radio field of size 4 that have options red blue green and yellow. Similarly, if you prefer using drop down menus, you could use those too. So checkboxes are not really intended for what you want to do.

      For your other problem, make sure that you have "write" permissions on all the files inside your forms directory, and also the forms directory itself. I don't know how to do this in Windows, but in UNIX you can do this with: chmod -R 777 forms and that will fix the "overwrite/create" problems.
      The reason why the program doesn't let the user specify the form name is because the program is not meant to create multiple forms at once. Meaning, once you create a form, you should copy the entire forms directory to a separate place where you are going to use it before creating another form. You should not use the form in the same location that its created.

       
    • Art Lader

      Art Lader - 2002-11-03

      My understanding of checkboxes is that they are used for items like: "Please choose your three favorite colors."

      Like this - http://www.bu.edu/webcentral/learning/forms/elements/checkboxes.html

       

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.