close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Form field group names appended to email

Thread began 12/22/2012 4:18 pm by jcav26033 | Last modified 1/10/2013 11:06 pm by jcav26033 | 710 views | 4 replies |

jcav26033

Form field group names appended to email

Hi all,
I followed the tutorial about removing fields from the email template, but I can't quite figure out the code that is appending the field group names in front of the template field name. For instance, instead of just receiving the template with "Contact Reason" and then the data, I am receiving "Your Contact Information group Contact Reason" followed by the data and I can't find where the form field name is being concatenated to the form cell content. Pointers please?

Sign in to reply to this post

Ray BorduinWebAssist

That is coming from the form element name on the form page itself.

You can probably update it with a simple find and replace on the form page:

find: "Your_Contact_Information_group_Contact_Reason"
and replace it with the label you would like to see using underscores instead of spaces. Make sure to replace all instances of that on the page.

If you attach the page with the form I could be more specific.

Sign in to reply to this post

jcav26033

Thanks, will try that

....but I don't understand how that will stop the email template from concatenating that new name to the static name on the form template...
the form lives at contact.php

Sign in to reply to this post

Ray BorduinWebAssist

The email is dynamically created based on the form element names. Try doing the find and replace on that contact.php page and you will see what I mean.

I see the form element: name="Your_Contact_Information_group_Contact_Reason"

If you did a find and replace on the page and replaced all occurrences of: Your_Contact_Information_group_Contact_Reason

with: Contact_Reason

Then I think the email would look how you want it.

Sign in to reply to this post

jcav26033

Ray, Thanks, that solved the issue. I guess I missed the part of the interface where I can assign my own names to the form elements! Sorry for the slow reply; life has been---full!

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