Hi,
already searched the Forum for my problem
Found this thread
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=2&t=88883
Which dont really helped me.
I have a long page with a form at the bottom.
After succesfull form submission a thanks message is shown, but the user didnt see the thanks message, cause the page reloads and stops at the top not at the bottom.
If i look at the Url after submission
?chronoform=<formname>&event=submit
what is the best way to append an anchor at the end
?chronoform=schreibensieuns&event=submit#anchor
to jump to thanks message at the bottom?
Thanks in advance
t
already searched the Forum for my problem
Found this thread
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=2&t=88883
Which dont really helped me.
I have a long page with a form at the bottom.
After succesfull form submission a thanks message is shown, but the user didnt see the thanks message, cause the page reloads and stops at the top not at the bottom.
If i look at the Url after submission
?chronoform=<formname>&event=submit
what is the best way to append an anchor at the end
?chronoform=schreibensieuns&event=submit#anchor
to jump to thanks message at the bottom?
Thanks in advance
t
Hi,
yes i already looked at the FAQ.
But this is for the captcha before the form has been sent... not after submission.
Can you point me to the right direction?
thx
t
yes i already looked at the FAQ.
But this is for the captcha before the form has been sent... not after submission.
Can you point me to the right direction?
thx
t
Hi tullski,
Yes it would need to be tweaked but the same method will work.
Otherwise you can use a System Message for the thanks that will show at the top of the page; or just redirect the user to another Thank You page.
Bob
Yes it would need to be tweaked but the same method will work.
Otherwise you can use a System Message for the thanks that will show at the top of the page; or just redirect the user to another Thank You page.
Bob
I know i had to tweak. lightbulb
Got another solution working with Jquery and PHP without touching Chronoform.
Not the best way, but working ....maybe someone else can reuse it
cheers
t
Got another solution working with Jquery and PHP without touching Chronoform.
Not the best way, but working ....maybe someone else can reuse it
<?php
$url = 'http://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
if (!strpos($url,'chronoform=yourFORMANAME&event=submit') !== true) { ?>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript">
$(function() {
$(document).scrollTop( $("#yourID").offset().top );
},1500);
</script>
<?php } ?>
cheers
t
This topic is locked and no more replies can be posted.