i try, to explain it, maybe difficult in english...
view.php
the first lines....
it generate a submission_id (in line 137) and add this submission_id to the (fresh) session (also Line 137) and also as hidden field into the form (Line 178)
then it loads the form setting and build the form with the hidden submission_id-field. the visitor fill this form and submit it to the same adress (view.php)
in normal case, is now the $_SESSION['form_submission_id'] == $_POST['submission_id']
is everything is okay, the view.php check both ID's (in Line 293ff) and send the form and builds a new $_SESSION['form_submission_id'] in Line 317, so that you can send this form only one time and not with a reload from the page again and again
after sending the mail, the script destroy the session (only in the new version from the actual WB 2.11 RC1-Test)
is $_SESSION['form_submission_id'] is not equal to $_POST['submission_id'], the view.php do nothing, it will show the form again, no proovement for empty required field, no warning for a empty or wrong captcha and no info-mail to the admin, no insert in the submission-list and -databasetable
if the job is done, (insert this result in database, sending the mail(s)), the script reads your form settings, specially the success-Action
if you choose no own success-page, it collect the datas and add it into the template,
if you choose a success-page, it make's a javascript-redirect with
<script>location.href='".$sSuccessLink."';</script> - $sSuccessLink is the wblink to the selected page
to show a text only, you have to define this text in the form settings first
###################
i didnt see any connection to you Nivoslider-Upgrade, if you use no-success-page
Maybe, you can check some little things
- do you have a success-text in your form settings?
- stay this text always, if you reload the form-settings-page in this field?
if you send the form...
- add the script a new record in your database (table: mod_form_submission s)?
- do you see any output about the success in your sourcecode from the page after sending?
a code like this
<table class="frm-submission print-email">
<thead>
<tr class="frm-thankyou">
<td colspan="2">Vielen Dank für Ihre Nachricht