close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Secondary recordset values in email result?

Thread began 8/29/2016 7:31 am by Steve | Last modified 8/29/2016 10:04 am by Steve | 572 views | 2 replies

Steve

Secondary recordset values in email result?

What is the best way to generate a value used in the final email, that requires a secondary post process based on user input (select list)?

For instance, there is a page with a form. A select list that has a Value (UserID) that is tied to a UserFirstName. The value is a simple integer. The goal is to get the UserFirstName for use in the email.

<option value="<?php echo($users->getColumnVal("UserID")); ?>"><?php echo($users->getColumnVal("UserFirstName")); ?></option>

I tried using the selected value on the email template page with a simple recordset ; select UserFirstName where id = $_POST['UserID']
Seems the email template is not the place for this.
Is the waue_....php file a good place to do the second recordset to use on the final email template?

Or should I be thinking a more javascript /jquery solution that works like AJAX to have the value needed present/generated as soon as the select list selection is made, then using a hidden input field have the value available via $_POST ?

Thanks you advance for the help.

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