close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Form Fields

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

shadow329043

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.

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