Virtual Mechanics: Community Forums and FAQs
Virtual Mechanics: Community Forums and FAQs
Web General Discussion
I-Frame Web Form Help?!?|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Working Mechanic |
I am been having trouble with my site. I have tried to take advantage of the password protected page using forms in the tutorial and was at first successful but then all the sudden everything went haywire...The first time I uploaded my site some of the web forms worked. Others didn't...so thinking it was a glitch I uploaded the whole site all over again. Then none of them worked and instead decided to act as if it were one of my pay pal buttons and everytime I pressed enter after putting the name of the page I wanted to go to it added another one of the products from the page I was on. I know this is kinda bizarre and have probably lost some people so far but stick with me. After checking and making sure that every one of my "Actions" were still set to:
javascript:location.href=formpass.Pass.value+'.html' I then decided that it was getting far too frustrating for me so I tried to find a way around it. I set up an iframe that would point to a page that only had the "password form" on it. I thought this would do it because it was on a totally separate page I figured it would fix the problem with the paypal interference...welllllllll it fixed the paypal interference but created a new problem. Everytime I type in "successful" as the page I want to go to it says "Error on Page" on the lower left hand corner of the screen. Am I doing something wrong? I have double checked everything as far as my form goes: -my form name is: formpass (all lowercase like in my javascript above) -my method is GET -Encoding is application/x-www-form-urlencoded -my text area is named "Pass" -both the enter button and the text box are under then form name "formpass" -the enter button is set to submit I just don't know what else to check... Hopefully one of you can help! The website I am taking about is: http://www.romancecoffee.com Select one of the coffees from the lefthand toolbar and you will see my password form. under "Have a Coupon Code? Enter below to proceed to Coupon Page." Thanks KKing This message has been edited. Last edited by: KKing, |
||
|
Guru 'Power' Mechanic![]() |
Your form page http://www.romancecoffee.com/couponentry.html is specifying a target i-frame, geo32, which does not exist on the form page. This may be responsible for the error.
To test it, remove the target="geo32" from the form page and run your form page directly, without the i-frame. That should work the same way as the one in the tutorial. Then add in your target again -- because your target is an i-frame two pages higher, you will need something like this: target="_parent._parent.geo32". I haven't tested this so it may not work. This may not be the complete answer, but it's a start.... |
|||
|
|
Working Mechanic |
I'm not sure if that did it. I am not at a place I can publish my site but when I push the preview project button it doesn't work every time I push the "ENTER" button it opens up an error page in a new window instead of the I-frame...I'll try publishing it in a couple hours and see if it works then but is there a place that I can go to do more research on the the _parent target?
|
|||
|
Guru 'Power' Mechanic![]() |
I suggest run the couponentry page first by itself (no i-frame involved and no target reference). If that doesn't work reliably, it won't improve when you put it in the i-frame.
There is a tutorial on i-frames under Help > Tutorials. Also there is some older stuff starting here. Ignore the FillFrame stuff -- the latest version of SiteSpinner makes that unnecessary. |
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|

