close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Checkboxes

Thread began 11/17/2009 12:29 am by info393493 | Last modified 11/17/2009 3:52 pm by info393493 | 949 views | 2 replies |

info393493

Checkboxes

I have made a WA Form Builder Information-Request form that has Checkbox Groups.
The object of the form is to check the items of interest and email it. The form sends ok but no matter which checkboxes are checked the response is "Array" in the email. Could you give me a hint how to make this response a yes or no? Or just list the items that were checked in the email?
I have spent a fair amount of time in Edit Form Contents > Edit Group Contents > List Values where I have tried assigning yes to the Value or leave it blank. Am I on the right track there?
ContactMe.php

Sign in to reply to this post

Jason ByrnesWebAssist

You need to use the PHP implode() function to convert the array that is crated by the checkbox group to a comma separated list:

You checkbox group is named "Contact_Me_group_Search_Engine_Optimization", so the code to convert it to a comma separated list would be:

php:
<?php echo((isset($_POST["Contact_Me_group_Search_Engine_Optimization"]))?implode(", ",$_POST["Contact_Me_group_Search_Engine_Optimization"]):""?>





You can find more information on the implode function here:
function.implode.php

Sign in to reply to this post

info393493

Checkboxes

Thank you for your prompt response, I will test the code change.

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...