Hi,
since I'm not that well versed in php I could use a little help:
What I would like to do is to redirect the user after he submitted a form. What I have now is a form like in the tutorials (http://www.couchcms.com/docs/concepts/forms.html) which just shows a little success message if it was properly submitted. If the form is a bit longer (or the screen height not that big) one doesn't really see the message and believes that nothing happened. That's why I sometimes get several mails with the same content.
If I could either focus the top of the page with the form (I have an anchor "#top") or redirect to a different page after successfully submitting the form it would be more obvious.
I'm not yet sure which of the two options I prefer but I guess there is no real difference . Although for the second options I would need a link which brings the user to the exact same page where he submitted the form. Again, I'm not really good in php, but I guess there must be an option to "go back". Or does even couch supports something like this?
Thanks in advance!
since I'm not that well versed in php I could use a little help:
What I would like to do is to redirect the user after he submitted a form. What I have now is a form like in the tutorials (http://www.couchcms.com/docs/concepts/forms.html) which just shows a little success message if it was properly submitted. If the form is a bit longer (or the screen height not that big) one doesn't really see the message and believes that nothing happened. That's why I sometimes get several mails with the same content.
If I could either focus the top of the page with the form (I have an anchor "#top") or redirect to a different page after successfully submitting the form it would be more obvious.
I'm not yet sure which of the two options I prefer but I guess there is no real difference . Although for the second options I would need a link which brings the user to the exact same page where he submitted the form. Again, I'm not really good in php, but I guess there must be an option to "go back". Or does even couch supports something like this?
Thanks in advance!