Forms embedded in a static page

User 427108 Photo


Registered User
292 posts

Hi
I'm designing my shop and in a static page I decided to include a form.
I made the form and inserted the code inside the static, only needed to change a little the code to the correct path to the files:
"<script type="text/javascript" src="swfobject.js"></script>... etc"
to
"<script type="text/javascript" src="http://www.art-i-batik.com/forms/swfobject.js"></script>... etc"
and everything works well but the form results never returned to me and when redirecting the page to a thank you page this fails too.
Ok, I can change some code on php files and shop cart php files but everytime i made any change then need go manually change the all paths again. Not a good solution.
See here http://www.art-i-batik.com/shopping/Reserva.php the solution I made and, please make any comment and share some experience with inserting forms in a static page of shopping cart.

The shop link http://www.art-i-batik.com/shopping/index.php
Jimmy The Sailor
http://www.jimmythesailor.net (trying to show my photos)
http://www.art-i-batik.com (my wife's gallery)
User 103173 Photo


VP of Software Development
0 posts

Why don't you use the HTML tool instead and then paste the form code in there. This way your form can be embedded right into your shop.
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 427108 Photo


Registered User
292 posts

Hi Scott
In Shop Cart Creator, when building the static page (my case Reserva.php) I use the Html tool to insert the form code and the upload the .xml .swf and .php files in a specific directory. As the CC Form builder makes 4 files I need only to change the paths. I used it and the form appears but afyter submiting I had not the return mail.
If you check the way I have done, using a pop-up window with the form I can have a better control of the form, closing without coming out of the shop.

Let me to say I'm very happy playing with this, now i inserted StatCounter code inside the static page (using the Html Tool) and now i can track the visitors.

Can test here: http://www.art-i-batik.com/shopping/Reserva.php
press the button to open the window form.
Jimmy The Sailor
http://www.jimmythesailor.net (trying to show my photos)
http://www.art-i-batik.com (my wife's gallery)
User 38401 Photo


Senior Advisor
10,951 posts

I love that feature Jimmy, if you get this working properly I'd love it if you would share the code that makes the window pop up and have a close button etc. :)

What email type are you using? there are a few problems with some of the emails that aren't getting messages properly such as Hotmail, and also if you try using the same email address to test it that the email is supposed to go to also (in other words the email that is in the form to be the receiving account, can't use that same email to test the form)
User 427108 Photo


Registered User
292 posts

Hi Jo Ann
You are free to test the form and just say in message to iddentify you and I send the results.
I put the form replying to the mails associated with my website and makink a BCC to my personnal e-mail (supported by my ISP) and made a test to reply to my hotmail addres which worked fine.
Now the code:
BUTTON TO CALL WINDOW WITH FORM
<SCRIPT language="JavaScript1.2">
function openwindow1()
{
window.open("http://www.your-site.com/your-form.html","mywindow","statusbar=0, menubar=0,resizable=0,width=650,height=650");
}
</SCRIPT>
<form><input type="button" value="Contact Us!" onClick="openwindow1()" /></form>

BUTTON TO CLOSE THE WINDOW
<form>
<input type=button value="Close Window" onClick="nojavascript...window.close();">
</form>

I hope this help you! Anything more just ask....
Regards
Jimmy The Sailor
http://www.jimmythesailor.net (trying to show my photos)
http://www.art-i-batik.com (my wife's gallery)
User 38401 Photo


Senior Advisor
10,951 posts

Thanks Jimmy that's awesome.
Have you checked your server webmail setup to see if maybe it's being caught there as spam? probably not but it's worth checking out as mine was being trashed when I tested with the Hotmail account. For some reason it just threw the response in the trash right off the bat lol, no idea why even.

The BBC so far as I have tested with it doesn't seem to be affected and has always gone through for me, but I didn't test that with Hotmail (I probably should do that too lol). If you got the reply fine from your Hotmail address test though then you are good to go. So I'm assuming it's just your website server email that isn't getting the response correct? And if so, check the spam settings and your spam and trash on that server side and see if it got blocked there.
User 427108 Photo


Registered User
292 posts

Hi Jo Ann
I had only problem when I included the for code inside the static page using the html tool.
I had the form done with all files inside a specific directory outside the shopping and copyied the code inside the static page, changing only the paths. The form appeared and was filled but the redirect page didný worked and the mails were not sent.
Then I decided to put code for a pop-up window with the form. The pop-up window is located outside the shopping, it's in same directory of the form files.
That way everything worked very fine.
Both cases I used the same e-mails account. Never had problem with the the server side sending and receiving the e-mails.
Regards
Jimmy
Jimmy The Sailor
http://www.jimmythesailor.net (trying to show my photos)
http://www.art-i-batik.com (my wife's gallery)
User 38401 Photo


Senior Advisor
10,951 posts

oh so you are saying it's all working good now then?
User 427108 Photo


Registered User
292 posts

Yes Jo Ann
please, fill the form and I will send the result to you. It will be a test for me also.
:)
Jimmy The Sailor
http://www.jimmythesailor.net (trying to show my photos)
http://www.art-i-batik.com (my wife's gallery)
User 427108 Photo


Registered User
292 posts

I'm sad
My pop-up window is not working with the IE8 :(

Maybe the code to call must be changed...
Jimmy The Sailor
http://www.jimmythesailor.net (trying to show my photos)
http://www.art-i-batik.com (my wife's gallery)

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.