close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

removing the form name from fields in email

Thread began 5/14/2010 1:26 pm by telegen324627 | Last modified 7/09/2010 9:36 am by telegen324627 | 4675 views | 11 replies

Eric Mittman

It looks like you are using an array for the checkbox values. If you would like to see the values for the checkbox when it is an array like this you need to do some array manipulation.

The first thing that you should do is remove the brackets that are in the name of the posted element so it is like this:

php:
$_POST["fieldset_group_Check_any_infection_you_had_in_the_past"]



If you had it like this you would see array() for the value of the checkbox fields. You need to manipulate this array to see all of the values in it. The easiest way to do this would be to implode the array. It would look like this:

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



The implode function takes an array and a separator and makes a string of values separated by the separation characters you specify. Here is a link to the php page with more info:

php.net/implode

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