Hook backend script to form designer...

User 2624719 Photo


Registered User
265 posts

Hi anyone
Having spent the last weekend trying to hook in web form builder's back-end script to the front and form designer I have now come across a new problem I get an error (which is a syntax error in my browser having tried all types of script changes I'm now at my wits end this seems to be conflicting ways of making this work all of which I have tried the so far without any look.
My intention is to create a video based on how this works once I can get it to work myself as I feel it would be very useful for the community to use the form designer program. Anyhow forthcoming would be greatly appreciated

Adrian
User 2624719 Photo


Registered User
265 posts

Hi update
Parse error: syntax error, unexpected end of file in /storage/content/23/1006023/360tourswarrington.co.uk/public_html/360 tours new website_exported/test contact form/form.php on line 19

This is the error i get below is the script

<?php

$scriptpath = substr( $_SERVER['SCRIPT_FILENAME'], 0, -4 );
$paths = explode ( DIRECTORY_SEPARATOR , $scriptpath );
$myName = end($paths);
require $scriptpath . '/fbapp/php/config.inc.php';


if( strtoupper( $_SERVER['REQUEST_METHOD'] ) == 'POST' ) {

if(isset( $_GET['action'])){
$myPage->Show();
}else{
header("Location: form/");
die();
}

?>



User 187934 Photo


Senior Advisor
20,181 posts

Hi Adrian,
Has this form been altered after export.
Can you share a link to it?
Are trying to hook a Form Builder forms backend scripts to a Form Designer front end?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2624719 Photo


Registered User
265 posts

Hi Eric
http://360tourswarrington.co.uk/360%20t … /form.html

I have been trying to hook the backend script from web form builder to the front end of form designer yes. I have tried so many different ways am completely lost any help much appreciated regards Adrian
User 122279 Photo


Senior Advisor
14,447 posts
Online Now

Last time I tried (about a year ago), the FD theme Gerbera worked fine with the script I have on my sharing page, meant for the SD forms I have there. Maybe you want to try it?
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 187934 Photo


Senior Advisor
20,181 posts

Your form action is setup wrong. Your submitting to a thanks.html and not the php script. Action is location of Form Builder myformname.php and the method should be POST.
/360tourswarrington.co.uk/360 tours new website_exported/form/form/thanks.html

read this
https://www.coffeecup.com/help/articles … -designer/
Where's the Form Builder form located?
Set the action and method on your form container not the submit button. <form action="myformbuilderformname" method="POST">
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2624719 Photo


Registered User
265 posts

Hi Eric /Inger
Having now spent three days with no success I have decided to give up trying to hook the back-end of web form builder to front-end a form designer thank you for your help. I think it would be useful for someone in the community to be able to show a video of how this works as going through the paperwork is a bit daunting to say the least the workflow doesn't seem to work for me from the paperwork provided by CC

Regards Adrian
User 187934 Photo


Senior Advisor
20,181 posts

Can you share your Form Designer file and give me the location of your Form Builder form?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2624719 Photo


Registered User
265 posts

Hi Eric

/360tourswarrington.co.uk/360 tours new website_exported

This is the location i see the form there my problem is that when i submit i get the error

Regards Adrian
User 2624719 Photo


Registered User
265 posts

Hi Eric
I got a sorry i could not share error on the file is there another way to get it to you

Regards Adrian

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.