NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on June 24, 2009, 10:42:08 AM
-
Hi,
Site with main frame and two other frames below, similar to the exaple 27.
My site began with the Login Page, in that page, I have a button to register as a new user.
This button links to a Form set to Defaul Form Action = Insert.
This Form have some required fields.
If I leave blank the URL in Save and URL on Cancel
Pressing Cancel goes back ok to the Login Page
Pressing Save with errors in some field it displays the error ok and theres still the 3 frames.
PROBLEM: Pressing Save without errors the site (the 3 frames) repeats in the LoginPage frameset
If I set the URL on save to 'FramePage' '_top'
Pressing Cancel goes back ok to the Login Page
PROBLEM: Pressing Save with errors in some field it displays the error but without the 3 frames, only the form.
Pressing Save without errors it goes back ok to the Login Page
How can I solve it?
Thanks
Alberto
-
PLease Bruce, may be Im not clear?
Thanks
Alberto
-
I think this has been fixed in 4.35.
It seems to only affect IE, not FireFox. Test to see if that's the case, which will confirm it's the same "sort" of issue.
Cheers
Bruce
-
Hi Bruce,
4.35, web folder updated, still same problem in IE8 and FB.
Alberto
-
Hi Bruce,
I've modified the Example 27.
You will see a "Reg as a new user" button, click it, it will open the Register form, click the Register (Save) button and you will see the effect.
Attached goes app27.app and settings.dct
Please take a look.
Alberto
[attachment deleted by admin]
-
Hi Alberto,
you're setting the target to '_top', so when the button is pressed the frames are lost. (You can't update the right-hand frame, because it is no longer there, the browser has thrown it away.)
My recommendation would be to make the "successful registration" go to a "welcome" page, in the same frame, and then from that page have a link to refresh the frameset.
Cheers
Bruce