How To Post A Page Automatically When An Option Is Chosen From A Drop Down List

what I want to do is - the user is presented with a form with a drop down box at the top with two options - Yes or No, If No is selected then the form stays as is and the user can complete the other text boxes.

However, if the user selects yes I want the page to refresh with a different set of input boxes.

View Replies


ADVERTISEMENT

Option Selected In Drop Down List

What is the way to make an option in a drop down box selected if dependant upon a variable.eg have list of states and once a customer has been selected the state reflects the customers state in say an edit customer form.

View Replies View Related

Posting A Selected Option (drop Down List)

I cannot get the selected option to be POSTed (it does not appear in the
QueryString when using GET neither)

I construct the drop down list from an array, I select an element in the
list, I POST using a submit button. When I use Request.Form("NAME") it's
always empty. Is the selected item is Posted? How to retreive it?

Response.Write "<SELECT NAME>"
for i = LBound(aRessource, 1) to UBound(aRessource, 1)
Response.Write "<OPTION VALUE=" & i & ">"
Response.Write aRessource(i, 0)
next
Response.Write "<OPTION SELECTED>"
Response.Write "</SELECT>"

View Replies View Related

About How To Automatically POST

To create a asp file in a wbserver as a interface for the IPphone and the internet. As IPphone can only have GET function ( that means it can't POST thing to the internet).

The asp file's concept is that the file is firstly read the data sent by the IPphone and then encode them into html format and then POST them to the required website. However, i only know the following method to POST. Code:

View Replies View Related

Automatically Re-POST

I have a problem with IIS 6.0 + IE 6.0. I'm POSTing back to an ASP page a long lists of IDs used for sending emails (>10.000). This process takes more than 30 min. The problem is that this process is automatically restarted by posting again all the data. I checked ASP page and there is nothing to reload the page. But after more than 30 min. (changed the timeouts) the process simply restarts by posting again the full list. I only need to
execute this page once.

why the whole process restarts posting back data (is not a simply GET, but POST)? There is no F5 / CTRL-F5 or Back buttons. It simply re-post data, without an error. It's my ASP page wrong? Or something wrong with IIS?

View Replies View Related

Automatically Post A File

is it possible to automatically post a file from a websites host server to a third party server. Apparently this is quite easy to do using PHP. The scenario is that I have created a two line text file in a secure area of the web server. This file then has to be posted to a third party server for them to process. The trigger has to be a user click.

View Replies View Related

Displaying Results From A Drop Down Option

I am still trying to get my feet wet with ASP, VBScript, and MS SQL here and I am trying to create a very useful page where I can eaisly view my SQL tables and the columns within those tables.

I have two SQL scripts that work well, one to display the tables within my database and one that shows me the column names in that table.

I created a form, added a drop down selection and coded it so the table names appear in the drop down, then added a "Submit" button.

What I am trying to do is get the page to display the column names below based on the table name I select from the drop down list.

ISSUE #1: I cannot seem to get the table name when chosen from the drop down to pass it's value to the second query so it can display the results.

ISSUE #2: How do I display these results from the chosen table name based on the column script below? Code:

View Replies View Related

Drop Down Menu Select An Option

Is there a way to have a drop down menu where u can select an option from the menu or type in ur own??? I am using ASP and SQL

View Replies View Related

Insert Selected Drop Down Option

I have page 1, that has a drop down box with codes. The user could either select a code or click a link that opens a page with a drop down consisting of descriptions.this is what I am trying to do.When user selects an option in page 2 drop down, the page 2 should be closed and the selected value should be inserted in page 1 drop down. How could I do this in asp?

View Replies View Related

Dynamically Populate Drop Down Menu Option Value Problem

I have dynamcally populated a drop down menu with data from an access
database using ASP. The values seem fine, however when i pass them to
the next page (using form get method) the whitespaces in the values
are ignored.

For example with <option value=jim jones> then only "jim"
gets passed to the next page not "jim jones". I have viewed the source
created on the dynamic page and the values are populated fine, but
passing to the next page seems to be problematic...

View Replies View Related

Problem Populating Drop Down After POST

I'm trying to pass information using POST. The first screen the user selects a company, and that variable is passed to the second page. On the second page, I am trying to populate a drop down list of usernames, but only those usernames that have the same company as the one selected on the prior page.

For some reason, the drop down list does not fill up with any names, and the rest of the form comes up blank(i.e. password, login, reset). Are there any glaring errors in this code? Code:

View Replies View Related

Drop Down List

Im using a drop down list for user to select their option. (For example the user selected type2) All goes fine for saving, but when I retrieve the info from database to be display on the same form on the same drop down list, it display Select Heretype2

<select name="type">
<option value="<%=type%>">Select Here<%=type%></option>
<option value="type1">type1</option>
<option value="type2">type2</option>
</select>

How to overcome this?

View Replies View Related

Drop Down List

I want to save the value of the option in a cookies choosed by a user in a drop down list in ASP page. After OnChange"........ what should I write?

View Replies View Related

Drop-down List

I'm sure an ASP programmer would be able to create this function within 5 minutes, but I'm just learning and I've fumbled my way through creating a little site content management system for a local community group. I'm a designer and the site looks great (so I'm told) but I just can't get this last page to work. I'm desperate for help!!!

I'm trying to call the values for a drop-down list from a seperate categories table in Access, to add/update records in a main Access table/query. The page/form is used to:

a) diplay/edit existing records; or
b) add new (if cstr = "").

I have finally managed to display the correct selection in the drop-down list for existing records (not sure if code is correct?) but I can't work out how to write changes (edit record) back to the database; or 'save' a new record? I'm also not sure if I should be trying to write data to the table or query? Code:

View Replies View Related

Drop Down List

how do i maintain the drop down value.. when i click on the "All" it cant be maintained... jsut that "All"... others values works fine.. Code:

View Replies View Related

Drop Down List

I have a page which displays all the fields in a table of my dbase. One of the fields in the database was previously populated by a drop down box.
My question is, is it possible to display the same drop down box with the value that has been populated from the table so it can be updated?

View Replies View Related

Drop Down List

Does anyone has some sample code or know any resources for using ASP and Javascript to dynamiclly create a drop down list?
(ie. Once the user selects a drop down list, ASP gets the selected value and go to database to get another set of new values. then creates a drop down list of all the new values)

View Replies View Related

Drop Down List

I am working on a project where people can search my database from the web. I have a drop down list on the page but I am having a hard time trying to code it so that when someone picks a title from the drop down list they only get the people with the same title as selected by user.

View Replies View Related

Drop Down List Box

i want to create one asp file using vbscript which will contain a form which gets informations like name, company and contact details(address, phone, email) of the user.

i want to use one dynamic drop down list box of which that drop down box will contain all the previous names entered in the past along with the option "add new name" at the beginning of all the names so that if anyone wants to add new name to the database they can click it and if already entered member browses that page he can select his/her name which will populate all the details down below like his company and contact details and if he wants he can make some changes in it and update in the database.

i tried searching tutorials for this but what i found was only for client-side javascript.

View Replies View Related

Drop Down List

i have a drop down list from with i choose a company name.after i choose the company name i want to go to a page where it displays all there details.what would be the most easiest way to do this?

View Replies View Related

Drop Down List

i have a drop down list box and i want to fill it with the options from the table i have called courses i want to fill the drop down list with what ever is in the courses table location field, e.g if there is scotland in the location field i want that to be shown so the user can select it, but i dont want repeating data to come up for example if there is 2 courses with the scotland i dont want 2 scotlands in the the drop down box.

View Replies View Related

Drop Down List

I want a new drop down list to display suppliers name, i have a stored procedure to get me this information, so am going to call a 2nd stored procedure on my .asp page and populate the drop down list with its values , would this be the best way to do this ?

I then need some way to link the supplier name to the supplier code so i can filter the report when i select the supplier name it will return the result for all the supplier codes in the report.

View Replies View Related

Drop Down List

I have a drop down list with 60 values in it. When I click on the drop down list it shows 30 values and the scroll bar. I only want it to show 10 values and the scroll bar. How do I set this limit for the number of values that are displayed at a time.

View Replies View Related

Drop Down List

I have created a page which contains 4 drop down lists.When loading the page itself i am filling up the first drop down list.Depeding upon the selection of the item in the first one,without submitting the page,the second list should fill.

And according to the selection of that the third one and so onn.The probelm is that i want to do this without using the OnChange method in the select.I am stucked now.

View Replies View Related

Drop Down List

I have the following piece of code:

<SELECT Name = BB>
<option value="100">English</option>
<option value="103">Italian</option>
</Select>

Once submitted, is there a way for me to get the content of the selected drop down as well as the value? Or can I only get the value using Request.Form("BB") ?

What I'm trying to do is to store multiple values in the drop down. (i.e. price and product name)

View Replies View Related

Dynamic Drop Down List!

I have a form I'm building in Dreamweaver. On my form I have a drop down list that is populated by a table in my Access Database. I won't to add a second drop down list but have the contents of it vary by what I select in my first drop down list. Let me explain further. Lets say I have a database of Movies. And The name of the movies are in a table and that table is used to populate my first drop down list. Now I have another table that has the actors in the movies. I have a junction table to make them relate in my database.....now how can I select a movie in the first drop down list...and the actors from that movie popluate the second drop down list?

View Replies View Related

Adding A Drop Down List

I have an asp page that creates a table from a Ingres II database. The headers at the top of the columns are hyperlinks that ad a order by to my list. This was all working fine until I added more choices with a drop down list view_type .

Now I am getting this error:
ADODB.Recordset error '800a0bb9'

Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another. I am thinking it has to do with when my list is reordered it does not know which view type and is not going through the count. Code:

View Replies View Related

Using Asp And Xml To Fill A Drop Down List

I have an asp page right now and I want to fill a drop-down list with
information like a persons name from an xml file. Once the user picks a
person from the drop down list I want it to go back to the xml file and
load the information about the person into textboxes. Does anybody have
an example for something like this in asp?

View Replies View Related

Dynamic Drop Down List

I hope this is the right group. I am very new to ASP so this is
probably a stupid question. I have some vbscript that query's AD and
populates a recordset. I know the recorset contains the information I
want by doing a Response.write. I am having problems dynamically
creating a drop down list from the data in the recordset. The drop down
is created but it is empty. Code:

View Replies View Related

Dynamic Drop Down List

I need advice how to reduce the size of my drop down list which is created dynamically using a field from my database. If you visit this link you'll see as the box is too long it's knocked out the whole look of the page. Other than shortening the names of the businesses, is there anything else I can do?
My concern is that next year sometime after this site has gone live, it will be maintained with a content manager by people with no IT expertise.

View Replies View Related

Dynamic Drop Down List

i want to retrieve the value from Mircrosoft Access database into the drop down list..it works.. so its dynamically..

but the problem is.. how could i redirect from the dynamic drop down list to other page.actually this page mostly like a search page.

View Replies View Related

Drop Down List Prob~

Im having a form for user to enter fields. One of the requirements is to enter the school name. To overcome a difficult and long drop down list. How would like to let the user select from a "state" drop down list first, and it automatically will change the drop down list of the "school" under the selected state. How do I do that?

View Replies View Related

Drop Down List Problems

I have a problem when passing the selected text from a databound dropdownlist. No matter which item that you select in the list the first item is always returned in the customerdrop.selecteditem.text.

How do i get the actual 'selected item' back? Code is below! I call the contactshow sub to populate the dropdownlist, and this in turn calls the bindlist sub. Code:

View Replies View Related







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