Formbuilder, help with variables
Good Day Everyone.. I have attempted to follow every forum post I could find to get CoffeeCup Web Form Builder to post to Form Tools without success. I believe the way CC works now has changed since most of the documentation with formtools. Has anyone been able to link these two lately?
It states to change to this:
<form action="https://mydomain.com/process.php" method="post">
<input type="hidden" name="form_tools_initialize_form" value="1" />
<input type="hidden" name="form_tools_form_id" value="1" />
But the coding to post looks like this in the form:
if( strtoupper( $_SERVER['REQUEST_METHOD'] ) == 'POST' ) {
$ctl = new FormController();
$ctl->Dispatch();
} else {
if( ! isset( $_GET['action'] ) ) $myPage->ReportStats( 'NotifyFormView' );
}
It states to change to this:
<form action="https://mydomain.com/process.php" method="post">
<input type="hidden" name="form_tools_initialize_form" value="1" />
<input type="hidden" name="form_tools_form_id" value="1" />
But the coding to post looks like this in the form:
if( strtoupper( $_SERVER['REQUEST_METHOD'] ) == 'POST' ) {
$ctl = new FormController();
$ctl->Dispatch();
} else {
if( ! isset( $_GET['action'] ) ) $myPage->ReportStats( 'NotifyFormView' );
}
Hi Richard, Can you explain what your trying to accomplish?
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
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
Good Day Eric,
We are trying to connect our WFB Forms to FORMTOOLS for storage. It can accomplish this in 2 ways, API and by standard POST. However, I'm not familiar with how Web Form Building is using post. I'm a network engineer taking on a task to make hospital life easier and I'm losing the battle! In my description, I pasted the information for using the standard POST type. The API instructions are a bit different but also not working, see below for API info.
require_once("global/api/api.php");
$fields = ft_api_init_form_page("1", "test");
$params = array(
"submit_button" => "submit_button_name_attribute", <--- Not clear what the button is called in WFB
"next_page" => "thanks.php",
"form_data" => $_POST,
"file_data" => $_FILES,
"finalize" => true
);
ft_api_process_form($params);
Further, the instructions state to make sure the form tag looks like this:
<form action="<?php echo $_SERVER["PHP_SELF"]?>" method="POST">
I see other's have tried to connect this but no answers how or if they were able to accomplish this. Any hep would be greatly appreciated!
Best Regards,
Richard Hassell
We are trying to connect our WFB Forms to FORMTOOLS for storage. It can accomplish this in 2 ways, API and by standard POST. However, I'm not familiar with how Web Form Building is using post. I'm a network engineer taking on a task to make hospital life easier and I'm losing the battle! In my description, I pasted the information for using the standard POST type. The API instructions are a bit different but also not working, see below for API info.
require_once("global/api/api.php");
$fields = ft_api_init_form_page("1", "test");
$params = array(
"submit_button" => "submit_button_name_attribute", <--- Not clear what the button is called in WFB
"next_page" => "thanks.php",
"form_data" => $_POST,
"file_data" => $_FILES,
"finalize" => true
);
ft_api_process_form($params);
Further, the instructions state to make sure the form tag looks like this:
<form action="<?php echo $_SERVER["PHP_SELF"]?>" method="POST">
I see other's have tried to connect this but no answers how or if they were able to accomplish this. Any hep would be greatly appreciated!
Best Regards,
Richard Hassell
The formbuilder uses $_SESSION variables.
Read this thread and see if it helps.
http://www.coffeecup.com/forums/web-for … post240036
Read this thread and see if it helps.
http://www.coffeecup.com/forums/web-for … post240036
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
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
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.