close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Creating questionaire that accepts multiple choices

Thread began 4/03/2010 8:49 pm by Dennis | Last modified 4/06/2010 6:24 pm by Eric Mittman | 706 views | 3 replies |

Dennis

Creating questionaire that accepts multiple choices

Hi,

I am new to WA extensions (Super Suite). I wish to create a questionaire form that contains questions that allow multiple selections (check boxes) and when submitted feeds a SQL database and sends email letters to the submitter and myself.

What's the best way to handle the questions that allow multiple selections. Both ith the form and with the database?

Once I decide how to handle the multiple selections, in what order do I use the WA extension?

Do I begin with CSS Form Builder? How do I get the information into my database? and set up the email letters.

The WA extensions users guides just explain the particular extension, they don't discuss tieing the tools together.

Thanks,
Dennis

Sign in to reply to this post

Eric Mittman

The tools work in a modular fashion, you just put together the tools to create the experience you are looking for.

For the first part of this you would use CSS Form Builder to create your form. Once it has been created you can then add in a DataAssist insert server behavior to ensure that the information entered by the user will be inserted into your db.

To get this information sent in an email message you can apply Universal Email to the page. This will create the server behavior that sends the information in an email message. You should apply them in this order. Other than that there is nothing that is specific about the way that you will apply the server behaviors to achieve your result. Please post back with any further questions that you have about any part of this.

Sign in to reply to this post

Dennis

Eric,

You complete passed over all my references to... how to handle form fileds (questions) that allow multiple check-boxes to be selected. How should I set up the database.

Do I set up the database so each question is a row (record)? Can the insert record behavior insert multiple check box responses (for the same question) into a single record

or

Should I setup the database where each checkbox response is a row in the table?

Dennis

Sign in to reply to this post

Eric Mittman

My apologies for skipping over your multiple selection questions. If you have multiple checkbox selections you should have a column for each selection in your table. This way you can make a very simple association between the checkboxes and the columns within the DataAssist insert server behavior.

The other way to do this is to store an array of values into a single column in your db. This method requires some additional php coding to work out though and the values are harder to get at and search through if they are all stored in the same column.

If you have any further questions or run into any problems with this let us know.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...