Post a form two different URLS

J

Jason

I have a sticky problem relating to my 'join' registration form inside our
authenticatin system...

We have just signed up for salesforce.com and I need to somehow integrate
the canned web-to-lead form from salesforce inside my login/registraiton
system without messing up the existing 'join' form.

My registration form is built on top of database while the salesform form is
statically generated form which is similiar but not exactly the same.

Is there way to either:

1. Post to two different urls at once for my main Join form.
2. Or, perhaps 'hide' the salesforce.com form and somehow populate the
values in the form and when the visitor clicks my Join form it also posts the
sf form?

Any help appreciated...it is messy!

Jason
 
L

Luke Zhang [MSFT]

Hello Jason,

A form can only be posted to one URL. So, your second thoughts maybe work:
we can create two frames in one page, one for your web application and
another for saleforce one; When the Submit button on your web page is
click, we can call some client script to fill saleforce's form and submit
it. I am not familiar with the saleforce's form so that I cannot tell
details on this, but you can refer to this article as a sample:

http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q194227

Hope this help,

Luke Zhang
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
E

Evertjan.

Luke Zhang [MSFT] wrote on 02 jun 2006 in
microsoft.public.inetserver.asp.general:
A form can only be posted to one URL.

I don't think so, in general.

Clientside script can onsubmit submit() the form
first to one this.action specified destination,
while the this.target is a [nondisplayed?] iframe,
then after changing this.action [and this.target?]
let the original html submit do it's work
 
B

Benjamin Strackany

2. Or, perhaps 'hide' the salesforce.com form and somehow populate the
values in the form and when the visitor clicks my Join form it also posts
the
sf form?

Yep, you could use the ServerXMLHTTP object from your form to POST to
saleforce.com's form page.

Ben Strackany
www.developmentnow.com
 
L

Luke Zhang [MSFT]

Yes, It is a simple solution. But it is only for submitting the form , we
may need to consider how to fill a form (UserName/Password) before submit
it. For example, add some scrpt code to fill the TextBox before
document.myform.submit();

Regards,

Luke Zhang
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top