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


Form Fields

Thread began 3/24/2010 1:02 pm by shadow329043 | Last modified 6/23/2010 6:47 pm by design240055 | 2666 views | 9 replies |


Form Fields

Just put up my test installation of UE 4 ------ sweet! My clients will love this one! Now I want to customize the information sent in the email. I added features like CAPTCHA to the web site form but I don't want to send that via email. So how do I edit the information sent in the email?

Sign in to reply to this post

Dani Chankhour

When you launch the UE wizard you can click on the DW Edit button to make the modifications to the email body.

If you selected a file for your email, then you can update the file directly in DW by going to webassist/email/templates

Sign in to reply to this post


Yeah - I saw the template - and I know that I can edit those features but what I am getting is the CAPTCHA code and the submit button, which are both on my web form but it isn't necessary to send that info in the email BUT they are included in my email....I am pasting what I recieved in the email below:

Your Email Title Goes Here
email subtitle area or directions can go here, below the title

Form Submitted: 3-24-2010 | 12:57 PM PDT

name: test name
stage: Test Number Two
RadioGroup1: La Femme International
address: Address one
Address Two
City and State
telephone: 503-555-1212
captcha: KCGK2
Submit: Submit
Additional Notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec eget tellus sed justo rhoncus posuere id sit amet arcu. Morbi pretium, enim faucibus facilisis hendrerit, elit. Morbi quis sodales ligula. Pellentesque elementum faucibus elementum. Sed rutrum dui in nisi dapibus molestie. Sed dictum ultricies viverra.

In non urna vel nisi dictum tincidunt facilisis nec enim. In vitae lectus mauris. Mauris id sem non risus aliquam pretium at ac ipsum. Cras ac ultrices nisi. Cras ultricies ultricies bibendum. Duis vitae aliquam erat. Nullam justo augue, mattis quis ultricies in, posuere sed tortor. Aenean ornare orci nec felis semper vitae interdum velit ultrices. Ut auctor congue tellus in hendrerit. Aliquam et massa hendrerit leo sodales dapibus non ultricies mi. Morbi non tellus bibendum quam elementum bibendum sit amet vel metus.

Sign in to reply to this post


never mind - just bound the forms fields to the template and then added the fields

Sign in to reply to this post



How did you do that? I have my template open, but I dont know how to get bindings from original Page (with the form).

Sign in to reply to this post


I tested this method using the additional info field at the bottom of the template - the data from the form was sent in the emails -so it verified my thinking - I am using DW CS3 - with the mail template open - I first deleted the additonal info section to use it as a test area and to compare it with the actual data sent in the email. I clicked on bindings tab and then the plus sign and selected form data - a browse window open and I selected the web form that I wanted to bind the data, in this case, it was my web site application. The form data fields appeared on the bindings tab and I could then add them to the template.

This method did prompt some changes to my form - I had one field that was a text area - 3 lines long and I decided to collect that info using 3 text lines to display it a bit better in the emails. And you do have to add a label to clearly identify the data in the email (the additional info section is two columns so this would not be a problem) The method used in UE 4 uses an array located around line 42 and begins with foreach( $_POST as $pkey => $pval ) to loop thru the form fields (which was why I inquired about this in the first place - I did not want the "submit" button or the CAPTCHA sent in the emails.) My final step would be to comment out these sections of code

echo(str_replace("_"," ",$pkey));

which should display the field names and

echo(str_replace("\n","<BR />",(is_array($pval)?implode(", ",$pval):$pval)));

which I think displays the form data. I haven't implemented this method on the site yet but plan to do so today since the test email looked like I wanted it to.......without the submit button and CAPTCHA data from the form. This method also needs a bit of refining - I may comment out the entire loop......instead of just the two sections of code.

Sign in to reply to this post


Learns new things every day

Thanks for this post. I have worked with DW for years but never new about -

Bindings : selected form data - a browse window open and I selected the web form that I wanted to bind the data

This solves many problems.

Sign in to reply to this post


You're welcome - that is one reason that I like to "prowl" these forums - I love to pick up tips to lessen the workload

Sign in to reply to this post

Ray BorduinWebAssist

That is because WebAssist added that interface. It wasn't there until you installed one of our extensions.

Sign in to reply to this post
Did this help? Tips are appreciated...


Looping Template - How to remove unwanted fields

I've worked on this all day & still can't get rid of the security Answer field, hidden field & submit button value. Seems like it should be basic, but it's totally whipped me until...

This works using a template for the email form.

Near the top of the template is this nifty bit of code:

$removeIncludes = array();
$removeIncludes[] = "Security";

All you have to do is extend this array using the field names for the fields you want to get rid of.

For instance in my case the revised code looks like this:

$removeIncludes = array();
$removeIncludes[] = "Security";
$removeIncludes[] = "KGA_submit";
$removeIncludes[] = "HiddenFields_fields";
$removeIncludes[] = "Stay_Kauai_Rental_Inquiry_group_Answer";

Effectively removing from the email the submit button value, hidden fields & the security answer.

Using the binding method above & hand coding the fields works fine until I come across a checkbox group... OK, I _could_ probably figure out how to do a checkbox group, but it really is easier to do it in the loop

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





Ease of use


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