Combine List Menu Fields For Email Output

I am using asp to submit a form I've created in asp. I was wondering if there was a way to output the vlaues of three listbox menus.

1. User selects hour
2. user selects minute
3. user selects am/pm

This is now outputting into my strBody as seperate entries. I'd like to combine them into one entry within the strBody.

Please reference strStartTime, I've tried to incorporate this into the email strBody, but am unable to accomplish this. Any help would be appreciated. Thanks Everyone!!!

Here is the asp code for the form: ......

View Replies


ADVERTISEMENT

Combine Fields

What I try to do is to combine 2 fields in one directly in a form before the 'submit' button. I use Access and Dreamweaver MX ( ASP VBscript).

In the form, the fields to combine are 'Course' and 'Schedule' to one field 'Course+Schedule'.

I know that we can combine fields in Access. But I need to combine them before to submit the form.

View Replies View Related

SQL, T-SQL, Or DTS To Combine Several Data Fields?

I want to take the contents of many fields of various datatypes (varchars
and text) and combine them into a single "junk" field that I will perform
SQL Server free text searching upon, e.g.:

tblArticles
Title
Subtitle
ArticleText

CombinedField [Title, Subtitle, and Article text smashed together]

Is it possible to create a query or T-SQL stored proc that would do this? Is
SQL Server DTS a better approach? It needs to be built for each row in the
table, and it needs to happen regularly.

View Replies View Related

List Menu

I need to create a page which updates a products information within a record.

the tables are,
products (ID,CatID,sID)
supplier (sID,sName),
category (CatID, CatName)

The above tables supplier and category have relationships to products by using the sID and CatID

I need to update the product details by having a select/option for a supplier and category but if not changed by the user the value already within products table stays the same, therefore the list must be dynamic so that the first item in the list is the one relating to the value in the products table. Also the value must be the ID numbers but must display the names not the ID's to the users within the select/option.

View Replies View Related

Menu List

I have a form page in ASP where the first menu/list function as a filter of
the second menu list. Once I select an item form the first combo I get the
second menu full of options. This is correct. My probem is that the first
combo gets the default value again and I do not see what I did choose.

View Replies View Related

Sorting By Two Fields From Drop Down Menu - No Results

I am trying to create a page where someone can search an Association directoy by category. The results page should then pull up all the companies that fall under that category and sort the company names alphabetically. The search & results pages are loading, but show no results under all categories. Code:

View Replies View Related

Menu/List Validation

how to validate a menu/list? I can use dreamweaver to validate a text field but not a menu/list.

View Replies View Related

List Menu With Name Of Files

How can I make and populate list menu with name of files from one folder and then select one of their?

View Replies View Related

Read In List Menu Value Into Asp

does anyone know how to read in a list menu value into asp? I need to get the value and then display results with it.

View Replies View Related

Dynamic List Menu

I could not solve for the past 3 days. I am try to build a website using ASP and VBscript. I am still a newbie to it.Let's get to the problem. What I am trying to do is to have multiple dropdown list. Each list menu ( except the 1st) dependes on the choice made in the one above.

I am using dreamweaver, it did generate a the form and everything and I was able to filter the results. The problem is that I don't know HOW TO REFRESH THE LIST. In other words, I can't figure out how to change the list menu options when the choices above change. I have tried to find some tutorial about it, but all I found was with JavaScript and I don't wanna mix VBS with JS.

View Replies View Related

Dynamic List Menu

Does anyone know how to make it so that when someone clicks on certain menu item on one list it automatically updates a second list with values.For example,if i click the Make of a car in one list, i want the second list to automatically update with the relative Models.

I've seen it done on various sites such as www.autotrader.co.uk but can't think how its done. So far i'm populating the first list dynamically with a database but don't know what the next step is to get the second one to do it.

View Replies View Related

Dynamic Menu/List

I currently have an "Add customer" page on my site. On this page you can choose multiple "brands" from a list box. (These brands are dynamic and come from a seperate table in my db). These brands are split up into an array and each added as a row to a database table.

Now I am working on a "Modify customer" page. It has all the same fields as my Add page except that the fields are already filled in with information from the db. I can't seem to figure out how to have my list box have multiple items selected when you first come to the page.

View Replies View Related

How To Remove Blanks From A List Menu??

One of my tables is used for two purposes so there are blanks in the column I'm filtering. I tried using an IF statement but it still put the blanks in the list menu. Any idea how to remove the blank items? Code:

View Replies View Related

Populate List/menu From A Database

what is code for populating a list menu with data from a database. also the default(first) option in the list should be "ALL".

View Replies View Related

How Can I List All The Email Address From Hotmal Contact List?

How can i list out all the email address into my website from the hotmail caontact list? i am successful log in into the yahoo contact list by using serverxmlhttp and list out all the email address from the page source, but i could not access to hotmail by using the serverxmlhttp. Is any other methos can list out the email address from hotmail contact list?

View Replies View Related

How To Pass Dynamic List/menu In Forms?

I have a form called form1.asp which has 10 dynamic list menus. This is the code for one of them. In this form I have a recordset. Code:

View Replies View Related

List Box Should Display Underneath Menu Window

I am trying to create a menu for asp.net page. The menu-detail list display, when mouse hovers over the main menu list, like you see in regular windows apps.

When the detail-menu-list window displays, it goes 'behind' combo box (sent to back). For other controls, like textbox, it is fine. Can some explain, how can I send the list box (<asp:listbox>) to become the underneath and not display on top?

View Replies View Related

Annoying Problem With List/menu 'selected'

I am doing server side asp form validation, the form posts to itself and if all the values are accepted the values are inserted into an access db...

I have several list/menu with static value options.

The problem is when I submit the form and another value is incorrect, each list/menu is reset to the initially selected value as defined in dreamweaver (in my case 'Please Select').

With text inputs I can easily set the value to the value passed through the form, however it's not as simple for a list/menu.

Is it possible to change the 'selected' option based on the variable passed?

It's annoying in the sense that even though the user has selected an option, if they make a mistake elsewhere they always have to reselect their list/menu choice...

View Replies View Related

Adding A New Entry To A List Menu Based On A Database

Let's say I have a dynamic list/menu, which gets its values from a
database table, for example a list of contact people where the value is
an ID number and the label is the name. However, if the value the user
wants is not in the list I would like to place a hyperlink which
will...

(1) open a small window, with an ASP form to allow the user to add a
new entry

(2) save the entry to the database

(3) add that value to the list/menu in the parent window and make it
the selected option

(4) close the small window and return to the original window.

I can handle the code for 1,2 and 4, but 3 is what I'm not sure about.
I don't like the idea of forcing the user to leave the current screen,
go to some other form, add the entry they need to the lookup table,
then come back; this seems like a logical approach, but just wondering
how to make it work.

This seems like a common enough situation; anyone have any code samples
or suggestions about how to do this?

View Replies View Related

Changing The Value Of A Textbox Based Upon The Selection Of A Menu/list Box

I have a menu box with dynamic values from a recordset (value = 'Size' column)

I then have a textbox for which I want to display the 'Price' column according to the record selected in the menu box.

View Replies View Related

Dropdown Menu/list Issue Pulling Records From Access Db

I am trying set up a page where the user can view records chosen by the year.
I want to use a dropdown menu/list. Having trouble figuring out the sql behind this.

My db table has about 10 fields in it, one of which is the year this record was created. i want the enduser to be able to enter the page, and first step is to select a year to view. Again, i want this to be chosen using a drop down menu. After clicking I would like the page to show a simple table pulling up all the records from that year.

i know this sounds simple enough, but i cannot find this info/tutorial anywhere.. you guys are my only hope.

View Replies View Related

Drop Down List With Linked Fields

I want to create an asp page from these forms in my database:

Database:
Table 1 =>
1.1) ID:
1.2) Product Name
1.3) Description

Table 2 => For the ASP Form
2.1) ID:
2.2) Text field 1 (Normal input field)
2.3) Product (Dropdown Menu, Data Source Table 1, Field 1.2)
2.4) Description (Text Field, Data Source Table 1, Field 1.3)

The Description value should be in correlation with the Dropdown Menu value in Table 1

View Replies View Related

Getting Email Output Into Sections.

I am trying to change a current emailer script.

The current version will run a FOR loop for each form element and will give them a label (by a variable). This label is then attached to each form element's value on the email.

However the email is pretty untidy so I would like to change the code so that groups of labels appear as groups on the email.

View Replies View Related

ASP Forms Output To Email And Excel

I have a site that currently collects info from a form. The info is then emailed to an elected email address. It occurs to me that perhaps there is some way of collecting the information and sending to a spreadsheet that would keep updating. THe information is all word based (as in mostly yes or no answers).

View Replies View Related

Request All Fields From A Form And Send By Email

i already create a code to request all fields from a previous page form using the next function y separate the fields with the value of each one. Code:

View Replies View Related

Sending Email To List - Bcc

I have an asp page that I use to collect email addresses for an email notification list.

I'd like to be able to send the notifications to everyone on the list without everyone's email address showing in the "TO:" list. Is there a simple code snippet I can use to send automatically as a BCC instead?

View Replies View Related

Syntax To Have Body Of Email Include Form Fields

I finally figured out how to get my form to its database and have an
email come my way. However I am now trying to set up the body of the
email to include the form details. However the body of the email that
is sent only includes the last line of the "body" tag and has no
details next to it. Code:

View Replies View Related

How To Display Multiple Form Fields In Email Using This Script?

I am using this script to submit my form fields into the body of my email:

***********************************************
Dim strBody
dim ix, formElementName, formElementValue
strBody = "Results of form submitted at " & Now() & vbCrLf & CrLf
For ix = 1 to Request.Form.Count
formElementName = Request.Form.Key(ix)
formElementValue = Request.Form.Item(ix)
strBody = strBody & (formElementName & ": " & formElementValue & vbCrLf)
Next

***********************************************
I'm completely new to vbscript and have been searching all over the net for an example of this script being used with mutliple fields with absolutely no luck.

The closest I've come to getting something back from this thing is when I tested the script with these elements:

FormElementName = Request.Form.Key("Name")
formElementValue = Request.Form.Item("Name")
formElementName = Request.Form.Key("Telephone")
formElementValue = Request.Form.Item("Telephone")
formElementName = Request.Form.Key("Email")
formElementValue = Request.Form.Item("Email")

Which produced this result:

Email: Email
Email: Email
Email: Email

Its seems the answer to my problem lies in defining the 'Key' and possibly the 'Item' parameters but I haven't been able to find any documentation on these terms. Can someone out there please save me from what probably is a very simple solution?

View Replies View Related

CDO.Message Email CC List Problems

I am trying to send an email from some server side ASP code and the CC field
is giving me some problems.

The code works fine if I have one or 2 email addresses in the field (The
addresses are valid.) However if I have 4 it breaks. Now the good
part......If I copy the 4 addresses (that were causing the problem) into the
field a few times, so basically I have 16 addresses the code works!!

I don't get an error back from the code when it breaks and I don't see any
emails in the Bad Email, Pickup or Queue folders, the email just doesn't
sent at all.

Also if I put the 4 addresses into the BCC field it works fine. It only
breaks on the CC field....

View Replies View Related

Asp Page Wont Send Email If Form Fields Are Blank

I created a feedback form for my website that has only 2 required fields. When you submit the form it calls my asp page which puts the information in a database and then sends me n email with the information that was entered into the form. The problem is that the form only has two required fileds, and if the remaining non required fields are left empty when the asp page is called it does write to the data base, but does not send me any email. However if I go back in and put somethng in every field in the form then when I submit the form and my asp page is called it writes to the data base and sends me an email with the all the information I entered in the feedback form. Is there a way to tell my asp page that it is ok to send the email even if the non required fields are left empty? I really do not want to have to go back through the form and put default values in for each area of the form? Also is there a way to have an error displayed if the email is not sent? My asp code is below....

View Replies View Related

Script Dont Process My Email List!

Im working on an automated email sending script which work real fine. I have to send 2 different list of email ( contact1 and contact2) of an acces database file (.mdb).

The fact is that my script work well but for some reason it only send the second list of email (contact2).

The script process the list contact1 without any error but obviously it isnt sending mail to those email.

It seems to be an easy fix mistake but i cant figure out why the first contact list isnt sending. Must be a "If then" mistake or something with the loop i think.

Heres the code: ......

View Replies View Related

Group Emails To Email List In Table

I would like to send the same email to every email address that I have in a table.Only complication is that some records have an email address and some don't (some people dont have email addresses.

I had a go and made an array and used the len(email)>0 idea, so that if no email address, skip sending and email. Guess just after some standard code, nothing fancy. The site is on a commercial server running win 2000 .

View Replies View Related

Can I Combine ASP With External CSS?

I am trying to display a random background image for a webpage. I found this code to do it

<%
'Defines the number of background images you have
Const NUMBER_OF_IMAGES = 2

'Initiates the randomize function
Randomize

'Sets a variable: this will be used to hold the
'random generated value
Dim intImageNumber

'This is where we create the random number
intImageNumber = Int((NUMBER_OF_IMAGES * Rnd) + 1)
%>

Modify the body tag to accept the random number. In this case we are going
to place it within the image so as to facilitate the selection of a random
image. Code:

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved