473,405 Members | 2,141 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

One IE window update a form in another IE window?

We have a web based tool used to report issues in our office. Many times the
users do not enter the required information to deal with the issue.
Unfortunately we don't have control of this application to update or modify
it.

I would like to create another web based tool where users would fill out a
form, click submit and the info from that form would be inserted to a
specifically named textarea box in a separate IE window.

A couple of factors that would affect this...
- The URL of the reporting tool does contain form data. I'm not sure if this
would affect detection of the current address in the browser.
- The name/ID of the textarea/textbox that I want to paste to is always the
same.
- The only browser to consider is IE as this is an INTRANET application.

Are any of the following scenarios possible?
- User has reporting tool open in one window at the proper page to enter
info. In another window they have our new form. They click submit and our
page inserts information into the other page.
- Same as above, but user has a different page than the reporting page. Can
our form detect what page is showing in the other browser window and issue a
warning to the user, or cause the other page to move to the correct
reporting page?
- User only has our page open. When they submit the form it opens the
reporting page in the same window and updates, or in a frame in the same
window and updates?

.... This should explain pretty much what I'd like to accomplish.

Currently when the user submits on our form it just copies the contents of
our form to the clipboard and pops up an alert box telling the user to "now
please paste your clipboard in the the problem report." It works, but it's
not very elegant.

Thanks!
Jul 23 '05 #1
6 2214
I assume Javascript isn't up to this task then...?

"Noozer" <do*******@me.here> wrote in message
news:er0bc.6948$oR5.4493@pd7tw3no...
We have a web based tool used to report issues in our office. Many times the users do not enter the required information to deal with the issue.
Unfortunately we don't have control of this application to update or modify it.

I would like to create another web based tool where users would fill out a
form, click submit and the info from that form would be inserted to a
specifically named textarea box in a separate IE window.

A couple of factors that would affect this...
- The URL of the reporting tool does contain form data. I'm not sure if this would affect detection of the current address in the browser.
- The name/ID of the textarea/textbox that I want to paste to is always the same.
- The only browser to consider is IE as this is an INTRANET application.

Are any of the following scenarios possible?
- User has reporting tool open in one window at the proper page to enter
info. In another window they have our new form. They click submit and our
page inserts information into the other page.
- Same as above, but user has a different page than the reporting page. Can our form detect what page is showing in the other browser window and issue a warning to the user, or cause the other page to move to the correct
reporting page?
- User only has our page open. When they submit the form it opens the
reporting page in the same window and updates, or in a frame in the same
window and updates?

... This should explain pretty much what I'd like to accomplish.

Currently when the user submits on our form it just copies the contents of
our form to the clipboard and pops up an alert box telling the user to "now please paste your clipboard in the the problem report." It works, but it's
not very elegant.

Thanks!

Jul 23 '05 #2
In article <er0bc.6948$oR5.4493@pd7tw3no>, "Noozer" <do*******@me.here>
wrote:
We have a web based tool used to report issues in our office. Many times the
users do not enter the required information to deal with the issue.
Unfortunately we don't have control of this application to update or modify
it.


Would a free lunch help? ;-)

Couldn't you just copy the html page that the form is on and modify it?

I mean a form comes down to a method attribute with a get or post
option. You just have to do the same get or post. Unless there is some
security method employed in the form, you should be able to submit your
modified form. I mean hackers try this all the time.

Robert
Jul 23 '05 #3

"Robert" <rc*******@my-deja.com> wrote in message
news:rc*****************************@news2.west.ea rthlink.net...
In article <er0bc.6948$oR5.4493@pd7tw3no>, "Noozer" <do*******@me.here>
wrote:
We have a web based tool used to report issues in our office. Many times the users do not enter the required information to deal with the issue.
Unfortunately we don't have control of this application to update or modify it.

Would a free lunch help? ;-)


Doh! I just want to know if it's at all possible, and maybe what object I'd
refer to as the "document" object isn't high enough up the tree to get me
out of my browser window and into the other browser window.
Couldn't you just copy the html page that the form is on and modify it?
Nope... No way of getting users to the new page. We have absolutely zero
control of the content on that server. We do have another server and
regulary create forms and templates on it and was hoping that we could get
our pages to interact with the other pages on the other server. Heck, even
just selecting a specific textbox and then sending keystrokes would be fine.
I mean a form comes down to a method attribute with a get or post
option. You just have to do the same get or post. Unless there is some
security method employed in the form, you should be able to submit your
modified form. I mean hackers try this all the time.


As much as I'd like to be able to directly submit data to the other site, it
just isn't possible.

Thanks for the reply though!
Jul 23 '05 #4
"Noozer" <po********@127.0.0.1> wrote in message
news:FZKbc.19824$oR5.15902@pd7tw3no...

"Robert" <rc*******@my-deja.com> wrote in message
news:rc*****************************@news2.west.ea rthlink.net...
In article <er0bc.6948$oR5.4493@pd7tw3no>, "Noozer" <do*******@me.here>
wrote:
We have a web based tool used to report issues in our office. Many
times
the users do not enter the required information to deal with the issue.
Unfortunately we don't have control of this application to update or modify it.

Would a free lunch help? ;-)


Doh! I just want to know if it's at all possible, and maybe what object

I'd refer to as the "document" object isn't high enough up the tree to get me
out of my browser window and into the other browser window.
Couldn't you just copy the html page that the form is on and modify it?
Nope... No way of getting users to the new page. We have absolutely zero
control of the content on that server. We do have another server and
regulary create forms and templates on it and was hoping that we could get
our pages to interact with the other pages on the other server. Heck, even
just selecting a specific textbox and then sending keystrokes would be

fine.
I mean a form comes down to a method attribute with a get or post
option. You just have to do the same get or post. Unless there is some
security method employed in the form, you should be able to submit your
modified form. I mean hackers try this all the time.
As much as I'd like to be able to directly submit data to the other site,

it just isn't possible.


I regularly control (fill inn and submit) html forms like that by writing
a small Visual Basic app that opens the form in an internal browser control,
fills inn the fields by the help of the DOM tree, and submit it. All under
the
control of the VB app...

Can that be an idea?

--
Dag.
Jul 23 '05 #5
> Nope... No way of getting users to the new page. We have absolutely zero
control of the content on that server. We do have another server and
regulary create forms and templates on it and was hoping that we could get
our pages to interact with the other pages on the other server. Heck, even
just selecting a specific textbox and then sending keystrokes would be fine.


This is a security issue. You need to work with pages on the same
domain. A page from one domain may not modify a page from another
domain.

Perhaps, you can lower the security restrictions in IE.

This is a bit outside my scope of knowledge.
There are keyboard mapping programs that let you write scripts to
simulate keystrokes. There used to debug windows applications.

Perhasps you can write a post processing routine to check the input
and send the user email to correct the bad form.

Robert
Jul 23 '05 #6

You could have your form be part of a frameset with another frame loading the
original reporting tool. If you make that frame 0px x 0px it's invisible. You
then simply use javascipt to load up that frame in the header of your form
and then your submit action is to populate the orignal form and then submit it.

I've used the technique to allow large data sets to be uploaded to a server
(only way I could find to get past IE's 2k URL limitation).

Any good for you??
Jul 23 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Scott | last post by:
I'm new to ASP, but I've been programming in VB for several years, and I'm having a few issues with this ASP enhancement I'm working on. I've found ASP to be a lot different than what I'm use to...
2
by: Terence Parker | last post by:
How does one go about submitting a form with a link - but submitting it to a new window AND to a page different to that described within the action="" option of the <form> tag? Say, for example,...
2
by: Robert Nurse | last post by:
Hi All, I'm trying to alter the contents of a drop-down (select) list on the parent window from a child window in IE 6. After opening the child window, I set its opener to reference the parent...
2
by: maxrawson | last post by:
Greetings all: I have an asp.net application that is coded mainly in vb.net. I have successfully cut and pasted some javascript into my application that mimicks the datetime picker control in...
8
by: Serge | last post by:
Hi, I have some intensive code that is running on my main thread. I try to show a status update on a 'status form'. The problem that i have is that because it is running in the same thread the...
2
by: Raj | last post by:
Hi All, I have a problem with trying to refresh the parent window from child window in order to update data in the parent window. The sequence of events are 1) I click a button in the parent...
6
by: mkobus | last post by:
Im relatively new, so please be patient with me... I need to update a parent .aspx screen from a popup and close the popup. Normally I would use...
6
by: Scott Lee | last post by:
I am displaying an ASP.Net generated form in a popup opened with window.showModalDialog. The form contains DropDownList controls. The first ddl is populated via databinding to a datatable, has...
2
by: Shelly | last post by:
I have a form that updates and stays in the same window. That is the desired behavior. On this form I also have two buttons. I want those buttons to open up a new window with information taken...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.