Answer the question
In order to leave comments, you need to log in
How to replace RedirectToURL?
Good afternoon!
Can you please tell me how to replace RedirectToURL so that after submitting the form without reloading the current window, a small pop-up block with text is shown?
Please suggest keywords to search.
if(isset($_POST['submitted']))<br>
{<br>
if($formproc->ProcessForm())<br>
{<br>
$formproc-><b>RedirectToURL</b>("thank-you.php");<br>
}<br>
}<br>
Answer the question
In order to leave comments, you need to log in
Well, you really need to remake it seriously, I want to tell you. Read about AJAX, www.javascript-coder.com/html-form/form-validation.phtml (about Triggering the validations when custom submitting the form) and change the logic of the PHP file so that it returns JSON for example when requested. I would do custom GET parameter handling for things like this.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question