I have found on the forum answer regards to redirect page after submit , I use frames, I went to embed.php and line 44 to change the location, and it doesn't work , after submitting it removes the frames, and go to selected page, is there any other location in code to make this change.. ?
Appnitro Software Forums » MachForm
Changing the url redirect's target
(4 posts)-
Posted 3 years ago #
-
Actually, you don't need to modify any file to change your redirect URL.
From the admin panel, edit your form and click "Form Properties" tab.
At the bottom right corner, you should see "Redirect URL" radio button.Simply select the radio button and put your URL there.
Posted 3 years ago # -
I did that part, but this option resets my website page, it goes to correct page but my target frames are gone,
I have set frames on my website the top part that is not moving contains my Logo, and menu choices on right side, and the middle part is the main target that scrolls up and down, once I go to Form to fill the info and press Submit button, it goes to correct page, but my top part and my right side are gone,
currently I have remove the redirect option not to confuse customers..Posted 3 years ago # -
Try this, edit your embed.php, go to line 36.
Search for this code:echo "<script type=\"text/javascript\">top.location = '{$submit_result['form_redirect']}'</script>";replace it with this one:
echo "<script type=\"text/javascript\">parent.location = '{$submit_result['form_redirect']}'</script>";so instead of "top.location", you are using "parent.location" now.
Posted 3 years ago #
Reply
You must log in to post.