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

rating

Universal Email attached to Data Assist Detail Page

Thread began 8/04/2010 9:47 am by robcorrick409194 | Last modified 8/05/2010 1:58 pm by Eric Mittman | 1217 views | 4 replies |

robcorrick409194

Universal Email attached to Data Assist Detail Page

I would like to put a Universal Email form at the bottom of my Detail page of Data Assist. I try inserting the form with form building and I get a message that code will be deleted. I tried placing the form all the way at the end of the editable area of the Detail page in a Div. I want to take the email from the detail record and place it in the recipient field of the email form. I could create a separate email page, but then I loose the information from my detail record. Can you tell me how to do this? Thanks.

Sign in to reply to this post

Eric Mittman

Do you need a form to set the values for the email? If you would just like UE to run on the page and use the values from the recordset there is not need to have a form for it. You can have a simple form that just has a submit button if you would like it to trigger on the button being pressed.

You could also add the form to a new page and just have a recordset like the one on your details page that is filtered by the record id to get at the values. You could even add the form to this other page and specify the details page as the action. Then once the form is created you can just copy it into your details page where you would like to see it.

Sign in to reply to this post

robcorrick409194

Universal Email attached to Data Assist Detail Page

Eric,

Thanks for your comments. They are very useful. Here are my responses to your question and comments.

"Do you need a form to set the values for the email?" Yes, I need a form for a user message, but I also want the email address that is contained in the Detail record, so that my user can send a message to him/her.

"You could also add the form to a new page and just have a recordset like the one on your details page that is filtered by the record id to get at the values." The question for me is how to do this. I need the email address from this one detail record, which as been selected by the user.

I have attached my attempt in the zip file, where I have created a new page, inserted Form Builder, Universal Email, created a new record set (which contains the email address), and selected UserID as the dynamic recipient, and then copied this page into my Detail page. Unfortunately, this does not go far enough. I do not know how to pass the user ID selected in the the Detail record to the behaviors in the new UA page.

I am able to successfully send an email with this new form from the Detail page, but it is sent to email address of the first record in my record set, apparently because I have not passed the Detail UserID in a query.

Thanks for your help.

Attached Files
Email Form on Detail page.zip
Sign in to reply to this post

robcorrick409194

Eric,

I might also say that what I am trying to do with Universal Mail here is a relatively common need on the internet. For example, and rental website would require this functionality, as well as many other situations where the database exists so that people can contact each other for various reasons. Thanks.

Sign in to reply to this post

Eric Mittman

There is a really cool feature of DW that allows you to copy a recordset from one page to another. You can select the recordset on your detail page within the server behaviors area and copy it with Ctrl+C or Cmd+C if you are on a pc or mac. You can then open up the new page with the form on it and paste in this recordset into the server behaviors area.

This will duplicate the server behavior, you can then just link to this page with the same identifier that you use on the details page like this:

php:
<a href="DetailEmail.php?UserID=<?php echo (isset($_GET['UserID']))?$_GET['UserID']:'' ?>">link to email page</a>
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...