FORUMS


The Form Tools forums are no longer active, but the old posts have been archived here. Please see the Help page on how to get help / report issues.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Kind of desperate HELP on for Form Builder
#1
Sad 
Hi there! [Image: smile.gif]

Newbie alert!

I've published a form with the form builder (fantastic tool btw, thanks Ben!), but what I need is the thank you page heading to a new url. Is that possible?

I'm not sure if I was clear, but is like that: When the user press the button to send the form, instead of the usual ~thank you page~ I'd like that he/she was redirected to a new url. 

Hope that someone could be seeing this post soon! <3
Maaaany thanks!
Raquel
Reply
#2
Its been a month, probably its too late.
Anyway... solved?
Reply
#3
(Dec 3rd, 2017, 4:50 PM)chalorlay Wrote: Its been  a month, probably its too late.
Anyway... solved?

Internal or external form?

If your using an external form, this would be the portion of code you need at the top of your form along with everything else you would need for it.

Code:
if (empty($errors))
     {
    $params = array(
        "submit_button" => "sbmt",
         "next_page" => "https://www.website.com/thank-you.php",
         "form_data" => $_POST,
         "finalize" => true
        );
     ft_api_process_form($params);
     }
// it failed validation. Update $fields with the latest contents of the form data
else
     {
    $fields = array_merge($_SESSION["form_tools_form"], $_POST);
     }
}
Give this a look.  https://docs.formtools.org/tutorials/api...page_form/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)