Integration with formtools
Permalink
I have been trying hard lately to get a custom form on my concrete5 site to integrate with formtools. Formtools is a custom form processing script that my company uses (http://ft2.formtools.org/ )
I am trying to add this form using the api (following these instructions:http://docs.formtools.org/tutorials/api_single_page_form/... ) but it just won't seem to work! All that's needed is referencing a file and then running some functions at the beginning.
Please help! I have been trying this for almost a week now! I soon might have to make a decision between concrete5 and formtools... I would be willing to send someone my entire site just to fix this.
Thank you very much!
I am trying to add this form using the api (following these instructions:http://docs.formtools.org/tutorials/api_single_page_form/... ) but it just won't seem to work! All that's needed is referencing a file and then running some functions at the beginning.
Please help! I have been trying this for almost a week now! I soon might have to make a decision between concrete5 and formtools... I would be willing to send someone my entire site just to fix this.
Thank you very much!
If you really have to use formtools, which I don't recommend, you could use it with the php block. It appears that you need to include a code like this
And that can be included with this block:
http://www.concrete5.org/community/forums/block_requests/simple_php...
$fields = ft_api_init_form_page(X);
And that can be included with this block:
http://www.concrete5.org/community/forums/block_requests/simple_php...
1. Just trying to get the form to submit to formtools, which is in another directory.
2. Yes, it works great for contact forms and what not but not for our behemoth database.
3. It already is on a directory, the program is not what I want to integrate, just the form to send to formtools.
@Maynar - I've tried that and everytime I include the file I get "headers already sent" errors.
Hmmmm, I might make the registration form just be a separate page unless anyone else can help.
2. Yes, it works great for contact forms and what not but not for our behemoth database.
3. It already is on a directory, the program is not what I want to integrate, just the form to send to formtools.
@Maynar - I've tried that and everytime I include the file I get "headers already sent" errors.
Hmmmm, I might make the registration form just be a separate page unless anyone else can help.
u're trying to integrate formtools to c5, because u need the ft_init function. depending on how the api is written, it could be a 5 mins job to convert into a library, to a 5 weeks job for a complete rewriting..
if you could live with the process.php i'm pretty sure <form action="/ft/process.php"> will work..
if you could live with the process.php i'm pretty sure <form action="/ft/process.php"> will work..
I'll either do that or throw it into an iframe. But thanks for telling me it's impossible because I would have kept trying for much more lol.
but it'll cost u more, nothing wrong in slapstick one app on top off another :)
2. did u know that c5 already has an amazing form management tool called form block? have u check that out?
3. if you really have to use formtools (having hundreds of users that're already used to it) there's nothing wrong with use the formtools from a subdomain, for example: even c5 site uses wordpress for their blog
imho, it'll cost u too much to convert the api into a c5 library, of course you can just slap it on and try to make it work, but the maintenance will cost u more in the long run.