I have obtained a (rather good) form asking for name and email address from a site called emailmeform.com and I want to use it in an i-frame so that, after someone has clicked the 'submit' button on the form, a thank you message will replace the form (on the same page). But I cannot for the life of me work out how to do it. Can someone advise please?
Are you having problems placing the form code in the i-frame? Use a code object.
Is the form working? Can you post a link to your page with the form?
Is the thank you page not showing up? Did you publish it? If everything published OK, the thank you page should appear inside the i-frame.
I signed up for an account to test what the form does and it works for me, so a few more details about your problem will help us to investigate your problem.
Also, it appears there are 3 different types of forms that can be created from their tool. Which did you use? And you using their email servers or did you purchase the option to host the php script yourself?
Crumbs! Thank you! OK . . . I've got the code for the form which I've put on the page I'm linking to through the i-frame. I've constructed the i-frame. There are now two problems (oh boy, I wish I was technically minded!). Firstly, when I do a preview the form is not showing in the frame, just some of the code. Once I've figured out (or someone has figured out for me) how to get the form itself to show in the frame on the preview, I then need to be able to tweak it so that, when the name and email address have been given and 'submit' has been clicked, the frame now shows a message saying 'thank you' and the form has gone. Does that make any sense? I found a website where this happens - www.panicaway.com - and I've looked at the HTML which seems to be connected with the form there . . . but I can't work it out. The form I'm using is just a simple one with two boxes for information and then the code at the bottom.
Firstly, when I do a preview the form is not showing in the frame, just some of the code.
The code should be included on the page using a code object - not a text object.
quote:
... when the name and email address have been given and 'submit' has been clicked, the frame now shows a message saying 'thank you' and the form has gone.
That should happen automatically since the form is inside an i-frame.