Script Controlled POST?
[1/5] from: jr:brainbyte at: 8-Oct-2000 3:42
SO lets say you construct a form out of ALL hidden type fields.
And you want to submit it without the user having to press anything.
Meaning you want to somehow let the script "Press the Submit button" for
this invisible form.
How to do that? Any ideas?
thnks,
Jeff
[2/5] from: al:bri:xtra at: 8-Oct-2000 2:55
Jeff wrote:
> So let's say you construct a form out of ALL hidden type fields. And you
want to submit it without the user having to press anything. Meaning you
want to somehow let the script "Press the Submit button" for this invisible
form.
> How to do that? Any ideas?
This sounds like a job for JavaScript on the HTML form page.
Or have I totally mis-interpreted your intent?
Andrew Martin
Who's been playing with View and browsing (scrying) datatypes...
ICQ: 26227169
http://members.nbci.com/AndrewMartin/
[3/5] from: news:ted:husted at: 8-Oct-2000 6:53
This is a HTML/Javascript question, but I think the answer is to use an
< onload=YourButton.click() > handler in the HTML body statement.
Syntax may be off.
Netscape's Javascript reference is here <
http://developer.netscape.com/docs/manuals/communicator/jsref/index.htm
>.
*********** REPLY SEPARATOR ***********
On 10/8/2000 at 3:42 AM [jr--brainbyte--com] wrote:
SO lets say you construct a form out of ALL hidden type fields.
And you want to submit it without the user having to press anything.
Meaning you want to somehow let the script "Press the Submit button"
for
this invisible form.
How to do that? Any ideas?
thnks,
Jeff
[4/5] from: rishi::picostar::com at: 8-Oct-2000 11:29
I remember reading something in user manual (under networking chapter) regarding sending
post/submit messages to the cgi script via rebol. Are you trying to view a web page which
requires user-name/password through rebol? I think you should look at the html of the
web page and find out what the post or submit command does (look at the javascript onclick
or onsubmit event). Use the same command with the REBOL post command and it should return
you the site. You can then parse the site to get any information you need.
I haven't actually tried this, but will try it when I have time...
Rishi
Previously, you ([Al--Bri--xtra--co--nz]) wrote:
[5/5] from: jr:brainbyte at: 8-Oct-2000 18:07
<html>
No the idea is I have a rebol cgi running<br>
<br>
Now, in the code, there is an IF, one of the paths needs to send a bunch
of form data to a 3rd party server.<br>
The user has already submitted, the cgi which is running is used to check
all data to make sure it is valid before sending on.<br>
Once the data is found valid, the data needs to be submitted via POST to
the 3rd party server.<br>
WITHOUT having the user press yet another button.<br>
<br>
data is in: var1=blah&var2=blah& ...<br>
format<br>
<br>
I found this code in the new DOC yet it doesn't seem to work:<br>
<br>
Authdata: "a=1&b=2&c=3"<br>
<font face="Times New Roman, Times">read/custom
<a href="https://developer.skipjackic.com/scripts/EvolvCC.dll?Authorize" eudora="autourl">https://developer.skipjackic.com/scripts/EvolvCC.dll?Authorize</a>
[post Authdata]<br>
<br>
any ideas?<br>
<br>
<br>
<br>
<br>
</font>At 02:55 AM 10/8/2000 -0800, you wrote:<br>
<blockquote type=cite class=cite cite>Jeff wrote:<br>
> So let's say you construct a form out of ALL hidden type fields. And you<br>
want to submit it without the user having to press anything. Meaning you<br>
want to somehow let the script "Press the Submit button" for this invisible<br>
form.<br>
<br>
> How to do that? Any ideas?<br>
<br>
This sounds like a job for JavaScript on the HTML form page.<br>
<br>
Or have I totally mis-interpreted your intent?<br>
<br>
Andrew Martin<br>
Who's been playing with View and browsing (scrying) datatypes...<br>
ICQ: 26227169<br>
<a href="http://members.nbci.com/AndrewMartin/" eudora="autourl">http://members.nbci.com/AndrewMartin/</a><br>
-><-</blockquote></html>