phpWebSite Manual
phpWebSite Manual

phpWebSite Resources

Mods

3rd Party Mods

Who's Online
There are currently, 7 guest(s) and 0 member(s) that are online.
You are an Anonymous user.
You can register for free by clicking here
No Members are currently logged in.

Form Generator

Form Generator

The Form Generator Module

Introduction

Adam Morton

The Form Generator is a module used to create forms and collect data from your site visitors online. Once data has been collected, Form Generator allows you to export the data into a tab delimited file (you can then import data into a spreadsheet program such OpenOffice.org Calc or Microsoft Excel). Form Generator also offers some basic reporting features of its own, but they are limited.

Some helpful things to remember when using the form generator:


  1. The Main Menu is always shown across the top while administrating the Form Generator module. This menu allows you to perform key operations in certain areas of the Form Generator. Some of these operations include: New Form, List Forms, Settings, Report, and Archive.

  2. When first entering the Form Generator the Main Menu will only show two options: New Form and List Forms. The Menu will expand its options when a form has been selected from one of the lists of forms. Certain options are shown for saved forms and certain options shown for unsaved or unapproved forms.

  3. There are two parts to forms: Settings and Elements. A form's settings can be altered at any time in any form. They include settings like your instructions for the form, the submission message shown upon successful submission of a form, whether or not only registered users can view the form, and whether or not the form can be filled out multiple times by your users. A form's elements are the actual "questions" within your form. The elements are selected from a list of HTML elements like text field, text area, drop box, check box, radio button, and multi select. These elements can be used to ask and gather all sorts of information. A form's elements can only be edited when a form is in the unsaved state.

  4. Under List Forms, three separate lists are shown. Saved Forms are forms that have been saved and may or may not contain data. That depends on whether or not you have the form available to your site visitors and whether or not those visitors have filled out the form. Unsaved Forms are forms that are being built but haven't been fully saved. Unapproved Forms are forms that were created by a user that is designated as needing approval of their forms before they are made available to the public. Once an unsaved or unapproved form is saved, it will move to the Saved Forms list.

  5. When clicking on a form in a list, you will be viewing the form as a visitor to your site would view it. However, as an admin you will see the Main Menu at the top. From the menu you can select to perform various operations on the form you are viewing. You can always return to the form listing by clicking List Forms.

  6. Something to keep in mind when saving forms: Make sure you are positive the form is correct and ready to be viewed and filled out by your site visitors. Once a form is saved it will start collecting data. If you decide to edit the elements within that form, the data collected by the form must be cleared and archived . Hence, you reset the form when you edit its elements. A good practice is to Export the data from the form just before you edit it's elements. You can always edit a form's settings no matter which state it is in.


Creating a Form

It is a good idea to have your form planned out in advance before diving in and creating a form. In the plan, you should take into account the name of the form, the instructions for the form, the submission message for the form, the elements to be contained in the form and what HTML elements will be used to represent your form elements, and what type of users the form is geared towards (anonymous or registered visitors to your site). Once you have planned out the settings and elements for your form, follow these steps to create one:


  1. Make sure you are logged into an administrative account that has permissions to use the Form Generator.

  2. From your Control Panel, select the Site Content tab.

  3. Find and select the Form Generator module.

  4. From the Main Menu, select New Form.

  5. You will be shown the Settings for your new form.

  6. Fill out the Name, Instructions, Submission message, and other settings for your form.

  7. If your form falls into one of your site's Categories, specify it as well.

  8. Click Save Settings to save your settings and begin adding elements to your form.

  9. You will notice that the menu now has a Settings option and an Elements option. Selecting >Settings will take you to editing the settings for your form and selecting Elements will take you to adding/editing of your form's elements.

  10. To add an element to your form, select the element type you wish to add from the tool bar at the bottom and click Add.

  11. See the section for adding the element you selected for more specific instructions for that element.

  12. Continue adding elements until you have all your planned elements within your form.

  13. Take a final look at your form to make sure everything is in order and make changes where needed.

  14. When you are sure your form is complete, click the Save Form button on the tool bar across the bottom to save your form.


Adding a Drop Box Element

Make sure you have planned out the format of your drop box before continuing. You should have in mind the label or question for the drop box, the number of options, the option text to be shown to the user, and the actual value of each option to be stored when it is selected.

Make sure you are editing the elements of the form you wish to add the drop box to. Select Dropbox from the drop down list of elements on your tool bar and click Add. Follow these steps to finish adding the element:


  1. Fill out the Name for your element. The Name is used to uniquely identify this particular element within the form. Form Generator will attempt to auto-assign a unique name to your element, but if you would like a different name you can change it. The only restrictions are: the name must contain only alpha and numeric characters, NO spaces, and be unique within the form you are editing.

  2. Fill out the Associated Text for your element. The associated text is the text shown with your element. This text can be a simple label, question, or instruction. (e.g.: Please select your age range:)

  3. Enter the Number of Options to be used with the drop box or select a Predefined Option Set (see section below: Predefined Option Sets).

  4. If this element is required to be filled out, check the Required check box.

  5. Click Next.

  6. If you did not select a predefined option set, you will now need to fill out the information for each option in your drop box.

  7. For each option, enter the Text which will be the actual text shown to inside the drop box.

  8. For each option, enter the Value which will be the actual value stored if the corresponding option is selected. Optionally, if you the value you want to be stored is the same as the text entered for each option, you can select the Use option text as values check box at the bottom of the list of options. If that is selected, you do not need to fill out anything for the values of your options.

  9. If you wish to have a certain option selected by default when the form is first shown to your site visitors, select the Default flag for the corresponding option.

  10. If you wish to save the set of options you just created as a predefined option set, enter a name to save the option set as in the Save option set as field.

  11. Double check your option set and click Save Dropbox when finished.

  12. The drop box will be saved and added to the end of your form.


Adding a Text Field Element

Make sure you have planned out the format of your text field before continuing. You should have in mind the label or question for the text field and whether or not the text field is required to be filled out.

Make sure you are editing the elements of the form you wish to add the text field to. Select Textfield from the drop down list of elements on your tool bar and click Add. Follow these steps to finish adding the element:


  1. Fill out the Name for your element. The Name is used to uniquely identify this particular element within the form. Form Generator will attempt to auto-assign a unique name to your element, but if you would like a different name you can change it. The only restrictions are, the name must contain only alpha and numeric characters, NO spaces, and be unique within the form you are editing.

  2. Fill out the Associated Text for your element. The associated text is the text shown with your element. This text can be a simple label, question, or instruction. (e.g.: Please enter your full name:)

  3. Optionally, you can enter a Size and a Maxsize for your element. The size will be the actual size of the text field and will affect how many characters are shown at one time in the text field. The maximum size is the maximum number of characters you are willing to accept. A user may type in more than the maximum size allows, but the Form Generator will store only the number of characters specified with maxsize. If no size or maxsize is specified, Form Generator will fill in default values for you.

  4. If this element is required to be filled out, check the Required check box.

  5. Double check your input and click Save Textfield when finished.

  6. The text field will be saved and added to the end of your form.


Adding a Text Area Element

Make sure you have planned out the format of your text area before continuing. You should have in mind the label or question for the text area and whether or not the text area is required to be filled out.

Make sure you are editing the elements of the form you wish to add the text area to. Select Textarea from the drop down list of elements on your tool bar and click Add. Follow these steps to finish adding the element:


  1. Fill out the Name for your element. The Name is used to uniquely identify this particular element within the form. Form Generator will attempt to auto-assign a unique name to your element, but if you would like a different name you can change it. The only restrictions are, the name must contain only alpha and numeric characters, NO spaces, and be unique within the form you are editing.

  2. Fill out the Associated Text for your element. The associated text is the text shown with your element. This text can be a simple label, question, or instruction. (e.g.: Please enter your full name:)

  3. Optionally, you can enter the Rows and a Columns for your element. The rows will be the actual number of rows in the text area and will affect how many characters are shown per line. The columns are the actual number of columns in the text area and will affect how many lines of text are shown at a given time. If no rows or columns are specified, Form Generator will fill in default values for you.

  4. If this element is required to be filled out, check the Required check box.

  5. Double check your input and click Save Textarea when finished.

  6. The text area will be saved and added to the end of your form.


Adding a Mutliple Select Element

Make sure you have planned out the format of your multiselect before continuing. You should have in mind the label or question for the set, the number of options, the option text to be shown to the user, and the actual value of each option to be stored when it is selected.

Make sure you are editing the elements of the form you wish to add the multiple select to. Select Multiple Select from the drop down list of elements on your tool bar and click Add. Follow these steps to finish adding the element:


  1. Fill out the Name for your element. The Name is used to uniquely identify this particular element within the form. Form Generator will attempt to auto-assign a unique name to your element, but if you would like a different name you can change it. The only restrictions are, the name must contain only alpha and numeric characters, NO spaces, and be unique within the form you are editing.

  2. Fill out the Associated Text for your element. The associated text is the text shown with your element. This text can be a simple label, question, or instruction. (e.g.: Please select your age range:)

  3. Enter the Number of Options to be used with the multiple select box or select a Predefined Option Set (see section: Predefined Option Sets).

  4. If this element is required to be filled out, check the Required check box.

  5. Click Next.

  6. If you did not select a predefined option set, you will now need to fill out the information for each option in your multiple select box.

  7. For each option, enter the Text which will be the actual text shown for options in the multiple select box.

  8. For each option, enter the Value which will be the actual value stored if the corresponding option is selected. Optionally, if you the value you want to be stored is the same as the text entered for each option, you can select the Use option text as values check box at the bottom of the list of options. If that is selected, you do not need to fill out anything for the values of your options.

  9. If you wish to have a certain option selected by default when the form is first shown to your site visitors, select the Default flag for the corresponding option.

  10. If you wish to save the set of options you just created as a predefined option set, enter a name to save the option set as in the Save option set as field.

  11. Double check your option set and click Save Multiselect when finished.

  12. The multiple select box will be saved and added to the end of your form.


Adding a Radio Button Element

Make sure you have planned out the format of your set of radio buttons before continuing. You should have in mind the label or question for the set, the number of options, the option text to be shown to the user, and the actual value of each option to be stored when it is selected.

Make sure you are editing the elements of the form you wish to add the radio buttons to. Select Radio Button from the drop down list of elements on your tool bar and click Add. Follow these steps to finish adding the element:


  1. Fill out the Name for your element. The Name is used to uniquely identify this particular element within the form. Form Generator will attempt to auto-assign a unique name to your element, but if you would like a different name you can change it. The only restrictions are, the name must contain only alpha and numeric characters, NO spaces, and be unique within the form you are editing.

  2. Fill out the Associated Text for your element. The associated text is the text shown with your element. This text can be a simple label, question, or instruction. (e.g.: Please select your age range:)

  3. Enter the Number of Options to be used with the radio button or select a Predefined Option Set (see section: Predefined Option Sets).

  4. If this element is required to be filled out, check the Required check box.

  5. Click Next.

  6. If you did not select a predefined option set, you will now need to fill out the information for each option in your set of radio buttons.

  7. For each option, enter the Text which will be the actual text shown next to the radio buttons.

  8. For each option, enter the Value which will be the actual value stored if the corresponding option is selected. Optionally, if you the value you want to be stored is the same as the text entered for each option, you can select the Use option text as values check box at the bottom of the list of options. If that is selected, you do not need to fill out anything for the values of your options.

  9. If you wish to have a certain option selected by default when the form is first shown to your site visitors, select the Default flag for the corresponding option.

  10. If you wish to save the set of options you just created as a predefined option set, enter a name to save the option set as in the Save option set as field.

  11. Double check your option set and click Save Radiobutton when finished.

  12. The radio buttons will be saved and added to the end of your form.


Adding a Check Box Element

Make sure you have planned out the format of your check box before continuing. You should have in mind the label or question for the check box, the number of options, the option text to be shown to the user, and the actual value of each option to be stored when it is selected.

Make sure you are editing the elements of the form you wish to add the check box to. Select Checkbox from the drop down list of elements on your tool bar and click Add. Follow these steps to finish adding the element:


  1. Fill out the Name for your element. The Name is used to uniquely identify this particular element within the form. Form Generator will attempt to auto-assign a unique name to your element, but if you would like a different name you can change it. The only restrictions are, the name must contain only alpha and numeric characters, NO spaces, and be unique within the form you are editing.

  2. Fill out the Associated Text for your element. The associated text is the text shown with your element. This text can be a simple label, question, or instruction. (e.g.: Check if you wish to receive mail about upcoming events.)

  3. Enter the Number of Options to be used with the check box or select a Predefined Option Set (see section: Predefined Option Sets).

  4. If this element is required to be filled out, check the Required check box.

  5. Click Next.

  6. If you did not select a predefined option set, you will now need to fill out the information for each option in your set of check boxes.

  7. For each option, enter the Text which will be the actual text shown next to the check boxes.

  8. For each option, enter the Value which will be the actual value stored if the corresponding option is selected. Optionally, if you the value you want to be stored is the same as the text entered for each option, you can select the Use option text as values check box at the bottom of the list of options. If that is selected, you do not need to fill out anything for the values of your options.

  9. If you wish to have a certain option selected by default when the form is first shown to your site visitors, select the Default flag for the corresponding option.

  10. If you wish to save the set of options you just created as a predefined option set, enter a name to save the option set as in the Save option set as field.

  11. Double check your option set and click Save Checkbox when finished.

  12. The check boxes will be saved and added to the end of your form.


Editing, Removing or Moving Elements

Editing, removing, and moving elements within a form are all similar operations. When editing a form's elements, the existing elements are shown with the element name and a drop box of options to the right of each element. To edit an element, select the Edit option from the drop box next to the appropriate element and click Go. You will be taken to a page exactly like the page shown when creating that particular element. Follow the instructions given for creating that particular element in their appropriate sections within this document.

To remove an element, select the Remove option from the drop box next to the appropriate element and click the Go button. You will be asked to confirm whether or not you wish to remove the element. Upon selecting Yes or No you will be taken back to editing your form.

To move an element, select the Move Up or Move Down option from the drop box next to the appropriate element and click the Go button. The element will be moved up or down in the form. If you element is at the beginning of the form and you select Move Up, the element will wrap to the end of the form and vice versa.


Predefined Option Sets

Predefined option sets are sets of options that are used often when creating a form. Some examples might be Colors, Sex, Yes/No answers, etc. Predefined option sets are created when adding or editing a form element that can contain options. These elements are Dropbox, Radio Button, Multiple Select, and Checkbox. See step 10 for any of the mentioned elements for more details on actually saving predefined option sets. There is currently no method for administrating or deleting predefined option sets.


Adding an Existing Form

First, you must be aware of the state of the form you wish to edit. If the form is saved, make sure you have exported your data before you attempt to edit it (see section Reporting on Form Data). Once you start editing the elements of a saved form, the form data collected is archived and cleared. Editing an unsaved or unapproved forms have no "side-effects" as they contain no data.





Make sure you have planned out the changes you wish to make to your form. In the plan you should take into account the elements you wish to remove, elements you wish to add, and settings you wish to change. If you are adding elements to the form, make sure you have carefully planned the settings needed for the elements as well as where those elements will appear in the form. Once you have your plan, follow these steps to edit your form:


  1. Make sure you are logged into an administrative account that has permissions to use the Form Generator.

  2. From your Control Panel, select the Site Content tab.

  3. Find and select the Form Generator module.

  4. You will be shown a list of your current forms.

  5. Find the form you wish to edit and click the linked Name of the form.

  6. To edit the Settings for the form you selected, select the Settings link from the Main Menu.

  7. Change any settings you had planned on changing and click the Save Settings button.

  8. You will now be taken into editing the elements of the form you have selected.

  9. Stick to your plan and remove or add elements in the same manner as when creating a form (see section Creating a Form).

  10. When you have finished editing the elements within the form, take a moment to look over the form for typos or errors.

  11. Select Save Form from the tool bar when you are ready to save the form.





If you are going to edit a saved form, make sure you have exported the form data before you continue (see section Reporting on Form Data).

Make sure you have planned out the changes you wish to make to your form. In the plan you should take into account the elements you wish to remove, elements you wish to add, and settings you wish to change. If you are adding elements to the form, make sure you have carefully planned the settings needed for the elements as well as where those elements will appear in the form. Once you have your plan, follow these steps to edit your form:


  1. Make sure you are logged into an administrative account that has permissions to use the Form Generator.

  2. From your Control Panel, select the Site Content tab.

  3. Find and select the Form Generator module.

  4. You will be shown a list of your current forms.

  5. Find the form you wish to edit and click the linked Name of the form.

  6. Select the Settings link from the Main Menu.

  7. If you are not editing the settings of the saved form, proceed to step 11, otherwise continue with step 8.

  8. Change any settings you had planned on changing and click the Save Settings button.

  9. You will be taken back to the form listing with the form's settings updated. If you still wish to edit the elements for the form, click the linked Name of the form you wish to edit.

  10. Select the Settings link from the Main Menu

  11. Click the Edit Elements button at the bottom of the settings page.

  12. At this point, Form Generator will want to archive your form and it's data. If you are sure you wish to continue to edit the form's elements, archive the form, and clear the form data, select the Confirm button. Otherwise, select Cancel and do not continue following these steps.

  13. You will now be taken into editing the elements of the form you have selected.

  14. Stick to your plan and remove or add elements in the same manner as when creating a form (see section Creating a Form).

  15. When you have finished editing the elements within the form, take a moment to look over the form for typos or errors.

  16. Select Save Form from the tool bar when you are ready to save the form.


Deleting a Form

First, make sure you know which form you wish to delete and that you are absolutely sure you wish to delete it permanently. If the form is a saved form, go ahead and export it's data before you delete it (see section Reporting on Form Data). When you have completed that, follow these steps to delete the form:


  1. Make sure you are logged into an administrative account that has permissions to use the Form Generator.

  2. From your Control Panel, select the Site Content tab.

  3. Find and select the Form Generator module.

  4. You will be shown a list of your current forms.

  5. Find the form you wish to delete and click the corresponding check box next to it's name.

  6. Now select the Delete option from the drop box for the corresponding list (i.e.: Saved, Unsaved, or Unapproved).

  7. Click Go.

  8. You will now be asked to confirm the deletion of the form. Click Yes or No.

  9. If you selected Yes, your form will be deleted and you will be returned to the form listing. If you selected No, the form will not be deleted and you will be returned to the form listing.


Archiving a Form

Archiving a form is a good way to save a particular "state" of a form. Only saved forms can be archived since they are the only forms which could possibly contain data. When a form is archived, the form, it's elements, and all it's data are all saved in an archive file on the server. To retrieve an archived form, you need to contact your system administrator. Follow these steps to archive a form:


  1. Make sure you are logged into an administrative account that has permissions to use the Form Generator.

  2. From your Control Panel, select the Site Content tab.

  3. Find and select the Form Generator module.

  4. You will be shown a list of your current forms.

  5. Find the form you wish to archive in the Saved Forms list and click it's Name.

  6. On the Main Menu you will see an Archive option. Click Archive.

  7. Your form will be archived on the server and you will be taken to the Report view of the form.


Reporting on Form Data

Reporting is only available for saved forms since they are the only forms that could possibly contain data. There are a couple of ways to report on data entered into a form. Form Generator has a built in method for browsing current entries in a form as well as a method for exporting this data into a tab delimited file that can be downloaded and imported into any spread sheet program (e.g.: OpenOffice.org Calc, Microsoft Excel, etc.).

First, to enter into reporting mode for a form, follow these steps:


  1. Make sure you are logged into an administrative account that has permissions to use the Form Generator.

  2. From your Control Panel, select the Site Content tab.

  3. Find and select the Form Generator module.

  4. You will be shown a list of your current forms.

  5. Find the form you wish to report on and click it's Name.

  6. You will now see a Report option available on the Main Menu. Click Report.

  7. You are now in report mode for the form.

Some statistical data is calculated and displayed by Form Generator such as the number of complete and incomplete entries, the total number of entries, and the date and time of the last entry the form received. Shown below this information is a list of the actual entries received by the form. There are several options you have available for each entry. You can edit, delete, view, or print each entry.

When editing an entry, the form is loaded with the data populated, and you are allowed to change any value you wish. When viewing or printing an entry, just the raw data is shown and not the form in it's entirety. If you delete an entry, it is permanently removed from the form's data and can only be recovered through an archive if one exists. It is recommended you archive your form data before you edit or remove any of it's entries. This will ensure you have a backup copy in case of emergency.

To export all the data within the form, simply click the Export button. A archived ".zip" file will be created by the Form Generator and will be sent to you through your browser. Choose a suitable download location on your machine and save the file. To unzip the file you can use the unzip command in *nix or the winzip, winace, or winrar programs in a windows environment. A single file will be extracted that is a tab delimited file containing your form's data. Using a spread sheet program, import the file and then save it to a more workable format that is native to the program you're using (i.e.: *.sxc for OpenOffice.org Calc or *.xls for Microsoft Excel).



Created on 07/26/2003 12:34 AM by RobertK
Updated on 04/11/2004 10:00 PM by RobertK
 Printable Version

Comments - Please Log In to make a comment
The comments are owned by the poster. We are not responsible for its content.
grr
Posted on: 08/21/2003 06:05 PM   By: Anonymous
how do you get them to show up on the page?
Re: grr
Posted on: 08/23/2003 01:45 AM   By: RobertK
Easy...

1) Click Settings -- scroll down way to the bottom: there's a dropdown box to add to an existing Menu.

2) Click on the Form name to open it up and Copy the URL of the form -- you can then create a menu item under Menu Manager and input the URL or simply create a context link anywhere in PageMaster, Announce or anyplace
that accepts HTML.

Bobby
non-user display
Posted on: 09/02/2003 03:10 AM   By: Anonymous
Let's say I want to set up some sort of "User Profiles" page with this. How do I let guests see the profile for a specific user.
Re: non-user display
Posted on: 09/03/2003 10:16 AM   By: RobertK
User Profiles with Forms? Don't know quite what you mean... there is a 3rd party module named phpwsContacts that could list user profiles... and I suppose some other modules could be tweaked to show user profiles.
Re: non-user display
Posted on: 11/15/2003 08:20 PM   By: Anonymous
It's a valid question. How do you share the collected form data with other users?
The form is really a survey. How do you share the survey results with other users? Just like the poll, where you can "view poll results". Right now the survey results or "reports" are only available to the administrator.
Form Generator and databases
Posted on: 11/01/2003 04:19 PM   By: Anonymous
Form Generator is a great module. But what about extending its capabilities in order to collect data to (and from) a database like MySQL or PostgreSQL? It would be a must! :-)
Re: Form Generator and databases
Posted on: 12/05/2003 02:17 PM   By: denny
I need this ability now as a matter of fact! How should I go about viewing/editing/MySQL in phpWebsite?
Flash Movies?
Posted on: 04/29/2004 06:45 AM   By: Anonymous
Is it possible to upload Flash movies and have those previewed in the album?

I am looking for an easy way to store and display a series of flash tutorials, and allow the user to comment on them.
Edited By: aantix On: 05/10/2004 11:59 AM
Embedding the form content within a "block maker" or "web page" module
Posted on: 05/30/2004 02:50 AM   By: Anonymous
Is there a way to embed the form content within a "block maker" or "web page" section?
Re: Embedding the form content within a "block maker" or "web page" module
Posted on: 06/23/2004 06:43 PM   By: Anonymous
I would think that once the form is created that there would be an option to view the html for the form so that the form could be added to a page or a block. . . .but it's not a possibility now. same with polls etc. they should be flexible enough to be dropped anywhere on the site once created and I don't see this functionality
Hidden fields
Posted on: 06/07/2004 12:58 PM   By: Anonymous
I want to add hidden elements to my form, to be saved along with the user responses; I want to assign the value of the hidden elements via code, but it'd be enough to have it just copy the value of one of the PHPWS global variables. Any chance something like that is possible with what already exists?

I have a schedule of events in another module; this form is for people who attended the event to make comments about it. It always refers to the most recent event, and I want to be able to attach the event name to the form as a field (to avoid making a new form for each event).
Timedate missing from form posts
Posted on: 06/21/2004 12:11 PM   By: Anonymous
Hello,

Does anyone know what file in PHPWebsite contains the code that posts the form data submitted by the user? I want to modify it so that the Timedate is recorded in MySQL, using the now() value (which is currently not the case).

Thanks, Jason
suggestions
Posted on: 07/13/2004 07:43 AM   By: Anonymous
Hi.
Just installed phpwebsite for the first time so I'm in evaluation mode! I need a system to be able to display collected information, like a member list/direectory. Eg a database of local bands would need text fields like band name, location, email, URl etc, but would be great if it could include a photo, a small mp3 etc.
There would then need to be a way of outputting this data to a convenient, searchable table which all site visitors can see. Eg show me all the bands in X town.
Is this possible with the out-of-the-box package, or is there a mod that can handle this ?
thanks a lot in advance...
Alan
Re: suggestions
Posted on: 05/22/2006 06:58 PM   By: Anonymous
I also have the need for the form information to post on a URL so all members can view the data. Someone else asked about this.... is there a way to make it work? I REALLY need this feature.

If not, can someone recommend another forum where I could get assistance? I already posted at phpwsforums with no luck.
Thank you!
-c
Uninstall problem
Posted on: 10/22/2004 08:25 AM   By: Anonymous
When I ask boost to remove Form Generator I get the result below. I did delete the only saved Form within the Form Generator module before attempting boost uninstall. Any help to fix result and remove Form Generator?

SQL: SELECT id, archiveTableName ws0934_FROM mod_phatform_forms WHERE saved='1'
syntax error
integrating a form with online payments
Posted on: 11/05/2004 02:01 AM   By: Anonymous
Hello,

I need to integrate a form with the Roman Cart shopping cart application. Can do it no problem with a straight html form but have hit a brick wall when trying to use a phpWebsite form. Has anybody used phpwebsite forms to do online transactions?
Can I change the settings
Posted on: 11/21/2004 11:08 PM   By: Anonymous
I would like to change the way the page looks. I want the 'Name' and 'Text Input' to be on the same line instead of below. Can I have the '
' taken out of the code somewhere?
Getting code instead of html format when form is emailed to user.
Posted on: 02/06/2005 12:32 PM   By: Anonymous
Hello all,

I am a new user of the phpwebsite and I was having a problem with the final output of the email that is generated when a form is completed. I have tried to find the answer all through sourceforge.com and could not get a straight answer.

Here is what happens...

I create a form and it is working correctly. Once I finish filling in the information, I get the email that is supposed to show all of the information gathered by the form, but it is appearing as code, which I think is xml. I have heard that there is a setting that needs to be changed to export as html, but I cannot find out where I need to go to check/correct these "settings". can someone post or email me, My email address, with detailed instructions...?

Thanks for any and all help...

John
I can see it but can't reach it...
Posted on: 02/07/2005 01:14 AM   By: Anonymous
For some reason, when I'm trying to create a form, it seems that not all of the element options are available.

I wanted to create some Hidden Form fields and a input type=file but they don't appear in the drop down???

The features are clearly available according to the code in /core/Form.php /** * Creates a hidden variable or variables for a form post * * If the name variable is an array, this function will assume * that an associative array of hidden variables is sent. * Example $array["name_of_variable"] = "value_of_variable" * * @author Matthew McNaney <matt@NOSPAM.tux.appstate.edu> * @param string $name Name of the hidden variable * @param string $value Value of the hidden variable * @return string $content Input form string * @access public */ function formHidden($name, $value = NULL) { $content = NULL; if (is_array($name)){ foreach ($name as $new_name => $new_value) $content .= PHPWS_Form::formHidden($new_name, $new_value)."\n"; return $content; } else return "<input type="hidden" name="$name" value="$value" />\n"; }// END FUNC formHidden() /** * Creates a file input form element. * * Creates a file input for element using the name and size parameters * passed in. If no size is specified, the default size is used. * * @author Adam Morton <adam@NOSPAM.tux.appstate.edu> * @param string $name Name of this form element. * @param integer $size Size of this form element. * @param integer $maxsize Maximum size of this form element. * @param string $label Text label to be applied to this element. * @return string $fileform The completed file input element is returned. * @access public */ function formFile($name, $size = 33, $maxsize = 255, $label = NULL) { if ($label) $fileform = $label; else $fileform = NULL; $fileform .= "<input type="file" name="$name" "; if ($size) $fileform .= " size="$size""; if ($maxsize) $fileform .= " maxlength="$maxsize""; $fileform .= " />\n"; return $fileform; }// END FUNC formFile()
Any thoughts on how I can use the FILE and HIDDEN inputs???
Return e-mail in form generator
Posted on: 05/09/2005 04:25 PM   By: Anonymous
I'm fairly new to the phpWebsite, maybe one month old, and I'm trying to setup a form that will e-mail the submitted data to a specific e-mail address. The seemingly hard part is done, but many of the e-mail addresses I've tried as the "admin e-mail" have been rejecting the submission. Accounts such as hotmail and gmail are no problem, but my personal e-mail as well as my work e-mail won't receive the message from my server. I suspect it is because of the sender's address (in this case my phpwebsite server) since it shows up in hotmail as "forms@server_ip_address". Is there a way to change what this address is displayed as? I've searched through all of the .conf files I think would be related, including the apache and phpwebsite files, but I have had no luck in finding where this info is generated. Any suggestions are appreciated.
Stan
Re: Return e-mail in form generator
Posted on: 09/10/2005 11:50 AM   By: Anonymous
how did you setup that form data is mailed to your e-mail?
Re: Return e-mail in form generator
Posted on: 05/19/2006 10:41 AM   By: Anonymous
Hello Does anyone know how the form send email. I have it working on a Linux machine but I cant get it working on a 2000 server machine. I have email working for the signup but not the Form Generator.
I am using Form Generator v2.7.1
phpwebsite 10.2
php 5.1.4
and IIS running on advanced server 2000

Everything works fin except the email to admin in the Form Generator. Any help on this would be great.
Re: Return e-mail in form generator
Posted on: 07/01/2006 11:22 AM   By: Anonymous
There is not enough support for this software to make it a viable option for web builders.
Re: Return e-mail in form generator
Posted on: 05/02/2007 03:21 AM   By: torwalker
I think everyone has to realise that this software is free and the developers and authors are giving their services free so we can't expect answers to all our questions. We have to work it out for ourselves and only post as a last resort.


Sponsored by Patterson Research
Founded by Robert Kennedy
Powered by phpWebSite