472,952 Members | 2,303 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Submit form, open result in a browser

Hi,

Is there a way to submit a form and then open the resulting page in the
default browser? (Writing the form submission code is not a problem by
the way)
I guess what I'm asking is how I can get the resulting URL and feed it
to the webbrowser module.
I need to do it this way because the site owners will not let me parse
the page and show the result inside my application... loss of
advertising revenue I guess. And since it's just a small added feature
to the application, opening it in a browser is fine. I just need to get
an idea on how to do it...

Thanks
Tina
Jul 27 '07 #1
4 1296
Tina I schrieb:
Hi,

Is there a way to submit a form and then open the resulting page in the
default browser? (Writing the form submission code is not a problem by
the way)
I guess what I'm asking is how I can get the resulting URL and feed it
to the webbrowser module.
I need to do it this way because the site owners will not let me parse
the page and show the result inside my application... loss of
advertising revenue I guess. And since it's just a small added feature
to the application, opening it in a browser is fine. I just need to get
an idea on how to do it...
That's not how HTTP works. Either you use e.g. urllib to make a http
call and save the resulting html into a temporary file - and then you
point your webbrowser to that.

Or you open the webbrowser with the url + parameters.

But there is no "result url"

Diez
Jul 27 '07 #2
Is there a way to submit a form and then open the resulting page in the
default browser? (Writing the form submission code is not a problem by
the way)
There is a library called "Client Form" that does this for you.
wwwsearch.sourceforge.net/ClientForm/
I guess what I'm asking is how I can get the resulting URL and feed it
to the webbrowser module.
After the form is submitted through ClientForm open the resulting
response using the webbrowser module.

Cheers
Thejaswi Puthraya

Jul 27 '07 #3
theju wrote:
>Is there a way to submit a form and then open the resulting page in the
default browser? (Writing the form submission code is not a problem by
the way)

There is a library called "Client Form" that does this for you.
wwwsearch.sourceforge.net/ClientForm/

After the form is submitted through ClientForm open the resulting
response using the webbrowser module.

Cheers
Thejaswi Puthraya
ClientForm is absolutely perfect! Less than 10 lines of extra code and
the job is done :)

Thanks!
Tina
Jul 27 '07 #4
In article <hs*********************@telenor.com>,
Tina I <ti*****@bestemselv.comwrote:
>theju wrote:
>>Is there a way to submit a form and then open the resulting page in the
default browser? (Writing the form submission code is not a problem by
the way)

There is a library called "Client Form" that does this for you.
wwwsearch.sourceforge.net/ClientForm/

After the form is submitted through ClientForm open the resulting
response using the webbrowser module.

Cheers
Thejaswi Puthraya

ClientForm is absolutely perfect! Less than 10 lines of extra code and
the job is done :)
Jul 27 '07 #5

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

Similar topics

2
by: vishal | last post by:
hello friends i have one php script which generates html page containing form. what i want is submit this form using php script. pls give me some idea that how can i submit form using php...
3
by: Mark Michel | last post by:
Hi. I have made an html form which I would like to send by e-mail. When the recipient receives the e-mail form, I would like them to be able to fill it out and click the Submit button which will...
3
by: Matt | last post by:
When people say submit the form data, does it mean the form data are submitted to web browser using either HTTP GET or POST method, and then it will redirect to another page. For example, this...
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,...
6
by: CJM | last post by:
Can somebody clarify if/how/when a simple form is submitted when the <Enter> key is pressed? As I understood it, if you have a form with a single submit button, if enter is pressed, the form...
19
by: Bruce Duncan | last post by:
I know this isn't a php group but I was wondering if my problem is with my javascript in my php code. I'm debugging someone else's code and I can't figure out why this form won't submit. This...
1
by: Andy Kasotia | last post by:
I have an ASP UI with VB Dll as a COM object that access the DB2 Database. I have a "Calculate" button on the ASP Page which when clicked does form validation (javascript) and submits the form...
3
by: Eric van der Niet | last post by:
Hello all, What i want to do is the following. I want to call a c#.net file from an html page. this htm send some parameters to the C# (asp) file. In Vstudio2003 what kind of file should this...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.