Hi,
I have one client that is using a third-party form data tracking company that requires my form to post action to their URL as seen below. I know how to recreate the form below in WFB, but how would I post action to their URL? My understanding is that I would have to manually code something like that into the scripts after I export my form. Anyone know how would I do that? I'm not a coder and wouldn't know where to begin.
BTW - I'd be exporting the form for use with my hosting company using Manual Server Setup.
Thanks!
- - -
<form name="myForm" method="post" action="http://www.some-thirdparty-site.com/registrant_signup.php">
<input type="hidden" name="ClientID" value="xxxxx" />
<input type="hidden" name="ProjectID" value="xxxxx" />
<input type="hidden" name="UID" value="xxxxxxxx" />
<input type="hidden" name="domainAccountId" value="xxxxxxx" />
<input class="form_txt" name="FirstName" size="20" type="text" />
First Name*<br />
<input class="form_txt" name="LastName" size="20" type="text" />
Last Name*<br />
<input class="form_txt" name="Email" size="20" type="text" />
Email Address*<br />
<input class="form_txt" name="Phone" size="20" type="text" />
Phone<br />
Comments<br />
<textarea class="form_txt" cols="25" name="Comments" rows="5"></textarea>
<input type="submit" value="Submit" />
</form>
I have one client that is using a third-party form data tracking company that requires my form to post action to their URL as seen below. I know how to recreate the form below in WFB, but how would I post action to their URL? My understanding is that I would have to manually code something like that into the scripts after I export my form. Anyone know how would I do that? I'm not a coder and wouldn't know where to begin.
BTW - I'd be exporting the form for use with my hosting company using Manual Server Setup.
Thanks!
- - -
<form name="myForm" method="post" action="http://www.some-thirdparty-site.com/registrant_signup.php">
<input type="hidden" name="ClientID" value="xxxxx" />
<input type="hidden" name="ProjectID" value="xxxxx" />
<input type="hidden" name="UID" value="xxxxxxxx" />
<input type="hidden" name="domainAccountId" value="xxxxxxx" />
<input class="form_txt" name="FirstName" size="20" type="text" />
First Name*<br />
<input class="form_txt" name="LastName" size="20" type="text" />
Last Name*<br />
<input class="form_txt" name="Email" size="20" type="text" />
Email Address*<br />
<input class="form_txt" name="Phone" size="20" type="text" />
Phone<br />
Comments<br />
<textarea class="form_txt" cols="25" name="Comments" rows="5"></textarea>
<input type="submit" value="Submit" />
</form>
What are the requirements of the third party?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
Hi Eric,
Basically what I posted above - of course I left out value details, names, URL, etc... for privacy reasons. I could certainly provide any and all information privately if that works.
Please advise...
Thanks!
Basically what I posted above - of course I left out value details, names, URL, etc... for privacy reasons. I could certainly provide any and all information privately if that works.
Please advise...
Thanks!
It looks OK to me but I don't know what the third party is looking for. Did you test it?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
Sorry for any confusion. The third-party is looking for me to submit the form field data above to,
<form method="post" action="http://www.some-thirdparty-site.com/registrant_signup.php">
I can setup the form in WFB and have it sent to an email address, as usual, but in fact what I really need it to do is to send to the post action above. In talking with CoffeeCup's Scott S., he informed me that I would have to manually code something like that into the scripts after I export your form from WFB.
That's what I need help with - adding/modifying the code in the WFB script(s).
Hope that helps clear things up a bit
<form method="post" action="http://www.some-thirdparty-site.com/registrant_signup.php">
I can setup the form in WFB and have it sent to an email address, as usual, but in fact what I really need it to do is to send to the post action above. In talking with CoffeeCup's Scott S., he informed me that I would have to manually code something like that into the scripts after I export your form from WFB.
That's what I need help with - adding/modifying the code in the WFB script(s).
Hope that helps clear things up a bit

All of the variables are available after you submit the form by replacing the registrant_signup.php with your own.
In the simplest way you can print out all the variables for testing using this code.
Individual variables would be addressed like this.
In the simplest way you can print out all the variables for testing using this code.
<?php
foreach ($_POST as $key => $value)
echo $key.'='.$value.'<br />';
?>
foreach ($_POST as $key => $value)
echo $key.'='.$value.'<br />';
?>
Individual variables would be addressed like this.
<?php
$LastName = $_POST['LastName'];
echo $LastName ;
?>
$LastName = $_POST['LastName'];
echo $LastName ;
?>
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
OK great, so that's how I can test the form.
But once tested, and I export all the WFB form files to upload to my website, what do I do to have the form submit to registrant_signup.php (which is on the third-party side) instead of an email address. See, they need the form field data sent there so they can process it.
But once tested, and I export all the WFB form files to upload to my website, what do I do to have the form submit to registrant_signup.php (which is on the third-party side) instead of an email address. See, they need the form field data sent there so they can process it.
That's what you need to ask the third party. You need to find out how they want to receive the data. At this point it would be speculation on my part. Their scripts probably are looking for some kind of login or authentication so they know who is sending data.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
All of the pertinent information that the third-party requires is located in the form's input fields and hidden input fields.
I found your post,
http://www.coffeecup.com/forums/web-form-builder/can-i-build-a-form-and-have-it-use-my-php-script/
where you helped someone resolve an issue of using their own PHP script. Would this also work for me if I modify the myformname.html file to point to "http://www.some-thirdparty-site.com/registrant_signup.php" instead of myformname.php?
FROM
TO
I found your post,
http://www.coffeecup.com/forums/web-form-builder/can-i-build-a-form-and-have-it-use-my-php-script/
where you helped someone resolve an issue of using their own PHP script. Would this also work for me if I modify the myformname.html file to point to "http://www.some-thirdparty-site.com/registrant_signup.php" instead of myformname.php?
FROM
action="../myformname.php" enctype="multipart/form-data" method="POST"
TO
action="http://www.some-thirdparty-site.com/registrant_signup.php" enctype="multipart/form-data" method="POST"
It might work. Have you tried it? As I've said I have no idea what the third party is looking for to handle the variables. I would think there would be some kind of authentication posted to the scripts to confirm the data. What's the name of the third party processor?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.