close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

send to select option from dynamic list

Thread began 7/06/2009 8:21 pm by JBWebWorks | Last modified 7/09/2009 10:03 pm by JBWebWorks | 3012 views | 13 replies |

JBWebWorks

send to select option from dynamic list

I have an email form with a list populated dynamically from a recordset. I have multiple choices checked on the list and the select value is the recordset column containing the email addresses and the select label is the recordset column containing the corresponding person name.
With UE 3.0.6 i want to be able to select many choices from the list and then send the email form to each selected.
I have used the recordset loop option and it sends to all in the recordset, but when i use the to enter value as the selection from the list and have multiple choices selected, it sends nothing. If i only select one choice, it sends the email to that one choice correctly.

how to do this?

thanks
jim balthrop

Sign in to reply to this post

Ray BorduinWebAssist

You would use DataAssist Search server behavior to filter your recordset based on the list.

Sign in to reply to this post

JBWebWorks

Ray

i am not sure how to filter using dataassist search?
the UE server behavior sends to
$RecipientEmail = "".((isset($_POST["select"]))?$_POST["select"]:"") ."";include("WA_Universal_Email/WAUE_email_topgun_group_1.php");

select is the list which allows multiple choices.

so i am not sure how to use DataAssist Search to filter?

thanks for your help,
jim balthrop

here is the page, if that will help.

email_topgun_select.php

Sign in to reply to this post

Ray BorduinWebAssist

You would apply the DataAssist search server behavior on the page with the recordset and universal email server behaviors already applied.

Sign in to reply to this post

JBWebWorks

Ray

are you saying DataAssist Wizard or Database Search Wizard?

What am i searching?

Sign in to reply to this post

Ray BorduinWebAssist

Neither wizard. The server behavior. Go to the behaviors panel and click the plus button to select DataAssist->DataAssist Search

Sign in to reply to this post

JBWebWorks

Sorry Ray,

i can't find that. Under server behavior i have WA DataAssist > Delete from Database, Insert to Database, Update Database

I have DataAssist 1.3.1

Sign in to reply to this post

Ray BorduinWebAssist

You would need the more recent version of DataAssist.

At the time of DataAssist 1.3.1 we still called this functionality QueryBuilder. If you have Querybuilder you can use that server behavior in the same way.

Sign in to reply to this post

JBWebWorks

Ray

i just got the upgrade to DataAssist 2.0.5.
I will try that and see if i can get it to work and get back.

Sign in to reply to this post

JBWebWorks

Ray

added serverbehavior DataAssist Search using OR as separator, type as list, comparison as =, and the list field and trigger as rs_emailgroup is not empty
produced session $_SESSION["WADbSearch1_email_topgun_select"]

set the to field in UE as <?php echo $_SESSION['WADbSearch1_email_topgun_select']; ?>

it is redirecting to the page set in UE as the 'go to page'
but no email is sent?

see anything wrong?

Sign in to reply to this post
loading

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