Hi Jason!
Just a thought ... can't you POST the form to the same page using the
following function (or something derived thereoff, you can easily
adopt it to your needs):
===quote===
Function IncludeHidden(StuffToIgnore)
For each Field in Request.Form
If InStr(IGNORELIST,Field) = 0 Then
TheString="<Input Type=""hidden"" Name=""" &
Field & """ Value="""
StrValue=Request.Form(Field)
TheString=TheString + cstr(StrValue) & """>"
TheString=TheString & VbCrLf
Response.Write TheString
End If
Next
End Function
===unquote===
I made this to collect huge forms & move data from page to page. You
can check for the form being posted, and if indeed posted, build two
forms using the function. Like this:
===quote===
<html>
<% If form is being POSTed then %>
<form name="1" action="url1.htm"><% Call
IncludeHidden("any,fields,you,want,left,out") %></form>
<form name="2" action="url2.htm"><% Call
IncludeHidden("any,fields,you,want,left,out") %></form>
<script>document.1.submit();document.2.submit(); </script>
<% End If 'end check script being POSTed %>
</html>
===unquote===
Ofcourse the page is far from complete, but you'll catch my drift,
maybe ...
Let me know if it works!
- Alex.
On Thu, 1 Jun 2006 12:32:02 -0700, Jason
<Ja***@discussions.microsoft.com> wrote:
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