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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Access corresponding column for select

Thread began 9/28/2011 10:12 am by rogersds267040 | Last modified 9/30/2011 2:36 pm by Jason Byrnes | 738 views | 5 replies |

rogersds267040

Access corresponding column for select

I have a drop that sets the value=id and name to be display in the dropdown. See attachment app.zip.

There's also another column called email which am trying to send an email to email address according to the id that's select in the drop. It keeps sending to the same address.

Any assistance will be appreciated.


Thanks

Attached Files
app.zip
srappointment_Insert.zip
Sign in to reply to this post

Jason ByrnesWebAssist

edit the WADAemail recordset.

instead of filtering the id column on the "email" querystring variable, filter the id column on the "email" form variable.

Next edit the Universal Email behavior. Instead of using the WADADynListkfm_users recordset for the to address, use the WADAemail recordset

Sign in to reply to this post

rogersds267040

Thank you, it work on the srappointment_Insert.php but doesn't on the srappoinment_Update.php page.

I tried the following but email is not being sent when I select a name from the dropdown.

I tried the following:

$_POST["appasignto"]
$row_WADAsrappointment["appasignto"]

Attached Files
srappointment_Update.zip
Sign in to reply to this post

Jason ByrnesWebAssist

the update record behavior is set to redirect to the srappointment_Detail.php page.

this redirect happens before UE can try to send the email.

remove the redirect from the update record behavior.

Sign in to reply to this post

rogersds267040

Thank you but after removing the redirect option the still didn't work. See attachment.

In addition, the insert page works fine and there's a redirect option.

Please note that there are to set of email on that same page and email 1 works fine. Just email 2 that doesn't work on that update page but works fine on the insert page.

Attached Files
srappointment_Update.zip
Sign in to reply to this post

Jason ByrnesWebAssist

you have set UE to use the appasignto form element as the to address.

instead, you should use the email column of the WADAemail recordset

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