[solved] - FormBuilder 0.7 - Submission problem

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
naturelab
Forum Members
Forum Members
Posts: 169
Joined: Thu Oct 15, 2009 11:11 am

[solved] - FormBuilder 0.7 - Submission problem

Post by naturelab »

I've used Formbuilder 6 or 7 times on sites and know my way round it fairly well, but today I've come up against a brick wall.

I am using :-

CMS Made Simple™ 1.9.4.1 "Faanui"
FormBuilder 0.7

The issue :- I have built the form as usual, but when I hit submit, nothing happens, no validation, no email, no page redirection and no error message

I've tried :-

1) re-installing the module
2) stripping out all Javascript
3) using different page templates
4) using different forms ( on different pages )
5) I have triple checked the CMS Mailer setup ( I always use the same host and it sends out test mail fine )

I am not doing anything difficult either. This is weird and I've run out of options.

Anyone ?
Last edited by naturelab on Thu Apr 14, 2011 7:26 pm, edited 2 times in total.
Daaber
New Member
New Member
Posts: 6
Joined: Sun Feb 15, 2009 12:52 am

Re: FormBuilder 0.7 - Submission problem

Post by Daaber »

I was having the same issues. I found this post which helped me solve my issue or at least made me look to the extension of my page as the culprit:
http://forum.cmsmadesimple.org/viewtopi ... rm+working

In the end, mine would not submit because I was trying to submit from index.php. I still had an old static .html file up while I was working on the site and therefore had to enter the index.php to get to my "new" home page. Once I removed the old .html file and tried submitting from just the domain, it worked fine.
naturelab
Forum Members
Forum Members
Posts: 169
Joined: Thu Oct 15, 2009 11:11 am

Re: FormBuilder 0.7 - Submission problem

Post by naturelab »

Hi Daaber :-

Thanks for coming back to me on this. :)

I am added this extra to the .htaccess file and it seems to work fine

Code: Select all

RewriteCond %{REQUEST_METHOD} !POST$
Can't thank you enough, I was beginning to pull my hair out !

What I can't understand is why the last site I built worked and this one didn't ( exactly the same spec / version / hosting ) - but I'm not gonna spend any longer thinking about that ! they both work. Thanks again.
spcherub
Power Poster
Power Poster
Posts: 402
Joined: Fri Jun 06, 2008 5:54 pm

Re: [solved] - FormBuilder 0.7 - Submission problem

Post by spcherub »

Hi,

I am faced with the same problem, but the solution outlined below does not fix it in my case. Here is my default htaccess:

Code: Select all

RewriteEngine on
#
#Sub-dir e.g: /cmsms
RewriteBase /clients/rrs

# 301 Redirect all requests that don't contain a dot or trailing slash to
# include a trailing slash
# but ignore POST requests.
#RewriteCond %{REQUEST_URI} !/$
#RewriteCond %{REQUEST_URI} !\.
#RewriteCond %{REQUEST_METHOD} !POST$
#RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]

# Rewrites urls in the form of /parent/child/
# but only rewrites if the requested URL is not a file or directory
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
</IfModule>
Right now the "RewriteCond %{REQUEST_METHOD} !POST$" is commented out, but if I were to uncomment it, where should it appear in the sequence of directives?

TIA
-Sanjay
Post Reply

Return to “Modules/Add-Ons”