staaks Posted February 27, 2014 Report Share Posted February 27, 2014 Hello, There is a Caspio form on the bottom of my page. When I submit the form, the page reloads with the thank-you message, but the user is on the top of the page. Is there a way to position the page on the place where he submitted after submit? Example URL:http://www.vgz.nl/vergoedingen/brillen-en-lenzen Quote Link to comment Share on other sites More sharing options...
Jan Posted February 28, 2014 Report Share Posted February 28, 2014 Hello Staaks, As far as I know, you can use iFrames. When you click Deploy, on the Deploy window, there are several buttons and Frame is the third. I would recommend you to use iFrame - you can paste the code the same way as embed deployment. You can add the code width="x" height="y" in pixels to define the size of the frame. Then the code will be like: <iframe width="x" height="y" name="NAME" title="TITLE" src="LINK">Sorry, but your browser does not support frames.</iframe> Quote Link to comment Share on other sites More sharing options...
staaks Posted February 28, 2014 Author Report Share Posted February 28, 2014 Hi Jan, Thanks for the swift reply. However, when using iframes, the URL function is not working as I want it to work. I want to see where the submission was coming from. This one form will be used on multiple pages. It's a feedback form. Any other ideas? Quote Link to comment Share on other sites More sharing options...
ShWolf Posted March 5, 2014 Report Share Posted March 5, 2014 Hello Staaks, You can look at these links: http://stackoverflow.com/questions/4938374/maintain-div-scroll-position-on-postback-with-html-javascript (But in this case you should add anchor before the form) and http://www.devnetwork.net/viewtopic.php?f=13&t=51544 On the other hand, iFrame deployment is still the best solution if you do not want more scripting on the page. If you want to track the page where submit has occurred, just add one more text field to the datasource table and in the wizard set Hidden form element for this field with "On load, receive" -> System parameter -> Host URL. Let me know if this helps. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.