close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Changing

Thread began 10/05/2009 12:58 am by A Sound Design | Last modified 10/09/2009 6:35 pm by Jimmy Wu | 2466 views | 7 replies |

A Sound Design

Changing

Now that I have designed a form and connected it to my form processor how do I change the details that are sent in the e-mail? The code that is generated is like:

<input id="form_name_shared_group_Mobile_Number" name="form_name_shared_group_Mobile_Number" type="text" value="" class="formTextfield_Large" tabindex="9" />

This gets sent to me in an email like:

form_name_shared_group_Home_Number (01234)12324567

When the form name is quite long it's even harder to read. I can change this to something shorter by editing the form fields in Code View but whenever I edit the form using CSS Form Builder it changes everything back again once it is saved. This is really annoying.

Sign in to reply to this post

Jimmy Wu

Instead of modifying the form to be changed, you can modify how the email is sent. Instead of sending the form element name, you can put in your own descriptive label and just send the value of the form element with that label?

Sign in to reply to this post

A Sound Design

How do I do that? I find that I can only do something like that in Code View in DW, but as soon as I use Form Builder again any manual changes are overwritten.

Sign in to reply to this post

Jimmy Wu

How are you sending your emails out? In your email template, instead of using the form field names, you can write out text to describe the field. For example, instead of having the email send:
<Form field name>: <form field contents>

which will send this:
form_name_shared_group_Home_Number (01234)12324567

have the email send:
Home Number: <form field contents>

which will send this:
Home Number: (01234)12324567

If you could explain how you're creating the email to be sent, I could better instruct you on how to get that email sent out correctly.

Sign in to reply to this post

A Sound Design

Thanks for replying. I've just realised that I have the Universal Email extension. Could I use that for sending the form's contents? Isn't that what it's for?

Sign in to reply to this post

Jimmy Wu

Yes, you can use Universal email to send the form contents. There is a tutorial on how to send form contents using Universal Email in the support section of our site:
universal-email/

You can find it under Solution Recipes.

Sign in to reply to this post

A Sound Design

Thanks for your reply Jimmy. I have started using Universal Email, posting the form to the same page as the form is on. It's getting better but not quite right yet.

With UE (Plain Text) it now sends as:

Form Name Contact Details Name: Jeremy

How can I get it so that it just sends as

Name: Jeremy

?

I have not touched the code in Code View. Instead I doing all changes in UE and Form Builder. In your previous post you said:

"How are you sending your emails out? In your email template, instead of using the form field names, you can write out text to describe the field. For example, instead of having the email send:
<Form field name>: <form field contents>

which will send this:
form_name_shared_group_Home_Number (01234)12324567

have the email send:
Home Number: <form field contents>

which will send this:
Home Number: (01234)12324567"

How do I accomplish this in the email template in UE? I followed the tutorial and added the PHP code

<?php foreach( $_POST as $pkey => $pval ) { ?>
<?php echo (str_replace("_"," ",$pkey).": ".($pval))?>
<?php } ?>

This gives the output in e-mail like:

Form Name Contact Details Name: Jeremy

Please can you advise me how I can get this like "Name: Jeremy" using UE and FormBuilder. Thanks.

Sign in to reply to this post

Jimmy Wu

When editing your email body using the Universal Email, you will want to just type in:
Name:

and then select the form element using the lightning bolt.

I have attached a screen shot of how I did this.

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