Setting The Value Of A Form From A Parent Screen

I have a screen, screenA, from which I call another screen, screenB, with a form on it. ScreenA has an ID that is captured in a variable called strShortName. (That variable is defined in another file called into ScreenA via an include.) I want to write that name as the value in a hidden field in the form on screenB. How can I do that?

View Replies


ADVERTISEMENT

Parent To Form To Asp Page To Parent

i have a form that pops up based on a click. the popup opens up correctly.
now what i want it to do is this.

1. submit the data to an asp page. that part i got working
2. close the popup box. have that working as well.
3. after processing the data on the asp page, direct to and refresh the
parent page that the popup was created from.

to be more specific....

i have a bracket page, where you click on the winners name to move them
over. works fine. that sends variables to a pop up box, where you enter a
score. that works fine. now when i submit, it only sneds the data to the asp
page, and even though the bottom of the asp page redirects it to the parent
page, it doesn't. it seems like it is trying to redirect to the popup that
doesn't exist anymore, so it does nothing.

View Replies View Related

Parent-Child Form Menus

I have two menu form elements that need to refelect a parent child relationship. There are 85 zones and 2200 zone-network combinations.

I want to bind the networkid element to an xml datasource that contains only the networks related to that zone. I have read about something like this before but have never implemented it.

create table tblZone ( zoneid int, zonename varchar(20))
create table tblNetwork ( networkid int, zoneid int, networkname varchar(20))

<select name="zoneid" onChange="reloadNetworks()">...</select>

<select name="networkid">...</select>

View Replies View Related

Form When Refreshing Parent Window (only FF)

i have a simple form with about 20 dropdowns. if the user preferes they can go through each dropdown with the question in a pop up window.

In this popup window they enter each question one at a time, once they enter an answer and submit the page reloads and stores the answer in the database and goes to the next question. At the same time the popup window forces a refresh on the main form so that the value selected in the popup is now seen on the main form as they go through each question.

My problem is that when the main for refreshes with new values to be selected FF does not change the value on the drop down. but when i go to the source the correct value is selected. I do not have this problem in IE everything works as it should be.

View Replies View Related

How To Pass Values Into The Parent Form

i have a drop-down menu with a list of products.when i select any one
product i open a popup displaying hte product categories in it.i then
enter the no. of items i want.and finally when i click to the submit
button i want to display a summary of selected item in the parent
form.to make it more elaborate:

i have 3 items in a drop-down menu and each item has further 10
different types of products.

something like u have an item soap. and then 10 different brands of
soap.so all my products are in the drop down menu in the parent form.
item 1
item 2
item 3
item 4

when i select item 1 i get a popup menu which has say 20 types of item1
from the database.i generate textboxes beside each label so that user
can enter his quantity. Code:

View Replies View Related

Issues Sending Popup Form Contents To Parent

I have the code below which displays a popup where the user will enter a username and password. When they click the Submit button it should redirect to the Parent Element who then sends it to the ASP Page for processing.

I have the following bits of code but when I dump the ASP Page results the Parent is not sending the info from the child element: Popup Code:

View Replies View Related

Setting A Form Value

I'm trying to use CDO with ASP. How do I set the value the user types in to be a variable that I can use?One specific of this is I want to have a text input for the user's email address. The value the user types in will be stored as a variable (hopefully, if this is possible). I assume it would be something like this:Code:

myMail.From=" " & email & " "

View Replies View Related

Setting A Form Field Value Using Cookies

I have a form on a page which I need to auto set certain fields from values stored in a Cookie.

<SCRIPT LANGUAGE="vbscript">
RegisterForm.Prefix.value = Request.Cookies("store")("id1")
</SCRIPT>

That is how it is in my file yet it just appears empty but I know there is valid data in the cookie as I printed it on screen using:

<%
Response.Write(Request.Cookies("store")("id1"))
%>

So I figured maybe it was something to do with the script tags so I tried using the <% %> tags instead and I got an error saying something like Microsoft VBScript runtime object required.

View Replies View Related

Setting Required Fields On A Form

I have a form with several fields - I have a radio button Yes/No

I have Field1, Field2, Field3, Field4 and Field5

If the radio button is Yes then I want Field1, Field2 and Field3 to be required - the other fields do not have to be required.

I'm not sure how to set them to be required - I know that I would have an if statement that if the button was yes then do something, but I'm not sure what to do?

View Replies View Related

ASP Equivalent Of CFParam - Setting A Value Of A Form Variable

I'd like to do something similar to CFParam, but in ASP - basically, I have a form variable ("Type") which may or may not be passed from the referring page. Some referring pages have an input field called "Type", whilst others do not.

I'm actually a CF developer, but keen to learn ASP. My current code at the top of the script is : Code:

View Replies View Related

Programatically Setting Form.action For Netscape?

Have a school project in which I have to use an ASP page to process data
from a form submitted by a user. Have to do this 3 ways - Using a Function,
a Sub Procedure, and a Class. Simple enough.

I decided to see if I could get them all to work from 1 submittal page using
an option group of radio buttons, and JavaScripting to send me to the
correct page (just as a personal learning experience). Got this working
also - but only in IE. Code:

View Replies View Related

Screen Capture

In my ASP application, I have a chart that will popup in a
new window. From the opener window, I want to add a button
that will capture the chart to the clipboard and be able
to paste it to other application. I just want the client
area and don't want to include menu bar, address bar and
so forth.

Can I do that with pure asp without a component?

View Replies View Related

Screen Scrape

I want to take the HTML source of a page and validate it and do certain things with it (all for good reasons!) much like W3C validators and such like do.
Trouble is:
* screen scrapes normally require 3rd pary component, and my host will not allow this
* my host does not support .net (which can do screen scrapes without a component)
My host does have cgi/perl support, so I was thinking I could:
* do a screen scrape using a simple perl script (suggestions please!)
* somehow get that to be submitted to an ASP page as form data
After that I can hack about with it as I see fit using the ASP.

View Replies View Related

Screen Resolution

I'm trying to replace a JavaScript that checks screen resolutions with an ASP dito
I've tried the HTTP_UA_PIXELS (servervariables) but it doesn't seem to work. I haven't found how to do this anywhere and I guess it's simple but please tell me how to do this

View Replies View Related

Screen Scraping

I need to write an application (VB script/ASP) that programmatically
operates a web site. In other words I would like to create my own interface
and use data from existing web sites. For example, the application will have
"to","from", "departaure" and "return" date fields that will be filled out by
an end user. The application then searches expedia.com, grabs results, and
displays it on my own screeen. Then a user selects flights and the
application routes the request back to expedia to book flights. The
confirmation number generated by expedia is displayed on my screen, etc.,

View Replies View Related

Screen Dimensions

This is going to sound like a really basic question, but at the moment my mind is running a total blank and i can't seem to find any reference to how to do it - but how, using VB Script, can I determine the height and width of the screen?

View Replies View Related

White Screen

My site seems to preload everything prior to displaying itself. I get a white screen for a couple of seconds and then, bam!, its all loaded and displayed.The same happens when the user navigates around the site. In between each page there is a white screen and a delay.is there anything I can do to minimise this white screen delay?

View Replies View Related

Screen Resolution

Is it possible to determine a user's screen resolution?

View Replies View Related

Screen Resolution

what i need to do is when someone hits my site, it must detect what that person's screen resolution is and according to that include a specific navigation.

View Replies View Related

IE End Up With A White Screen

There is a problem which confused me for a long time. I have a web application built by ASP running on IIS, and most time it's OK.

occasionally when IE send request to IIS and then receive HTML from server it will stop with no reason. IE shows a white-screen and then I check the HTML source and find that only partially received. After I press F5 everything is OK again...

View Replies View Related

Get Screen Size

I'm looking for way to get the users screen size in asp. Including something like

If screensize=800x600 Then
varscreensize = "800x600"

Is this possible with asp?

View Replies View Related

Full Screen Image From DB

I am not sure that asp is a right place for that question, so gurus will move it to proper section. But as soon as I display images using aspupload the solution probably will be also in asp. I do not have problem to show them on asp page, so it is not a problem of aspupload. Its just a general asp question:

Do you know any techniques how to display full screen images without using popup window?

I would like image to take all the full screen without any browser menues or explorer menu bars. Something like you see when screensaver turn on.

View Replies View Related

Screen Resolution In Global.asa

I use a little asp script to get some site statistics ... essentially logging each session into a database using global.asa.

How do I capture the screen resolution in this setup ?

I know how to get the screen resolution in JavaScript ... but how do I combine javascript and asp within global.asa ? Or is there another way in asp to get the screen resolution ?

View Replies View Related

Writing &nbsp; To The Screen

How do I write "&nbsp;" to the screen? Here's my code:

string(right_array.count, "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;")
It keeps printing like this: &

I've even tried this:

server.htmlencode(string(right_array.count, "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"))
I just can't get it to work.

View Replies View Related

Auto Screen Scraping

I was wondering if there is any possible way to do this:

I would like some application on my server go out to a certain page at specific time intervals and scrape some data from it.

I imagine it would work similar to grabbing an updated RSS feed...except without the RSS. I would then like the scraped data to be stored in a database, or a text file, or an html page so the data can be pulled into another page.

View Replies View Related

Split Screen Options

I have 10 athletes i will be testing and displaying their information

so there will be two split screens the bottom screen where the user enters the data and the top screen where the data will be sorted to show the ranking of the athletes Code:

View Replies View Related

Get A Screen Size Without A Component Using ASP!

Ive been looking for ways on how to do this for a long time. But ive never found a way to do it without a component! So i made a combo of asp and javascript to do it, heres how you do it: Code:

View Replies View Related

Screen Resolution Strategy...

I'd like to hear your opinions about screen resolution strategy...

Actually, we have sites which consist a set of pages...

If I decide to use code for detection screen resolution like this:

<script type="text/javascript">
var wid = screen.width; //Get the screen width
var hite = screen.height; //Get the screen height

var qs = "?width="+wid+"&height="+hite; //Create a querystring

self.location.href = "yourASPpage.asp"+qs; //Redirect to the ASP page with the Width and Height as querystring values
</script> Code:

View Replies View Related

Screen Resolution Assign To Asp

I'm retrieving the screen resoltion with javascript code, but i can't assign the correct value to asp. the response.write is displaying zero (0) for screen res., although when i do a document.write in the javascript part, then my screen res. is 1004 ...

View Replies View Related

Refresh Just Part Of The Screen?

I can come up with a page that displays some information. The information will always be displayed on specific part of the page, with auto refresh. But he doesn't want the whole page to be refreshed so that buttons and images around the information do not get
reloaded each time. Is this really possible?

Other pages on this site don't use frames, so this page can't use frams too. Creating an ActiveX control is also not an option of us ...

View Replies View Related

Screen Flow Design

My coding experience comes from mostly application development instead of web coding. In the application world, if the user receives a system error, a new form would display the error, with any helpful information for the user and the application administer. This way there is a systematic way to handle errors. In the web world, how is this done?

For example, if I have a form where the user is entering data to be inserted into a DB. Is this the correct flow of pages?

-On submit of Entry form, an ASP page is called to insert the data -If insert successful, take the user to the next logical page -If insert not successful, display an error.htm page.

Basically, the entry page does not have the insert SQL and if there is an error in the insert (not because of missing fields because those are handled with JavaScript before submit), the error is displayed on a completely different page. Is this correct flow?

View Replies View Related

How Do I Command A Browser Screen To Front From Asp?

Our application launches a webbrowser window with a command to (more than
one) asp's on the host. The window is reused for subsequent commands.
Unfortunately, the old window is usually underneath some other window and
unaccessable from the application.

Is there (preferably) a browser-independant method to command the window to
front from the asp?

View Replies View Related

Creating Picture Box For Print Screen

How could I create a input area where a user could paste a printscreen into the area or press a button to grab the item from the clipboard?

View Replies View Related







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