FormBuilder Help

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
simetz
Forum Members
Forum Members
Posts: 18
Joined: Fri Nov 27, 2009 5:57 pm

FormBuilder Help

Post by simetz »

I am running CMSMS 1.11.12 and installed FormBuilder 0.8.1.3 after first installing the required CMSMailer version 5.2.14.

I configured CMSMailer through the GMail SMTP server and the test email works fine.

I am using the default contact form on my page {FormBuilder form='contact'} http://simonmetz.com/contact/

When I test the form on my page and complete all the required fields, clicking the submit button just reloads page with fields blank, no errors are displayed (I unchecked box so errors should display on content page).

Any help would be appreciated.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: FormBuilder Help

Post by Rolf »

Post your .htaccess file here and upgrade your CMS!!
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
simetz
Forum Members
Forum Members
Posts: 18
Joined: Fri Nov 27, 2009 5:57 pm

Re: FormBuilder Help

Post by simetz »

are you saying that Formbuilder doesn't work with 1.11?

.htaccess is below:

IndexIgnore *.gif *.jpg *.psd *.png *.JPG *.GIF *.html *.php *.js


AddType x-mapp-php5 .php

Options +FollowSymLinks
RewriteEngine on
RewriteBase /

# URL Filtering helps stop some hack attempts
#IF the URI contains a "http:"
RewriteCond %{QUERY_STRING} http\: [OR]
#OR if the URI contains a "["
RewriteCond %{QUERY_STRING} \[ [OR]
#OR if the URI contains a "]"
RewriteCond %{QUERY_STRING} \] [OR]
#OR if the URI contains a "<__script__>"
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
#OR script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
#OR any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule ^.*$ - [F,L]
# END Filtering

# 301 Redirect all requests that don't contain a dot or trailing slash to
# include a trailing slash
RewriteCond %{REQUEST_URI} !/$
RewriteCond %{REQUEST_URI} !\.
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 [NC]
RewriteCond %{REQUEST_FILENAME} !-d [NC]
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: FormBuilder Help

Post by Rolf »

Yes FormBuilder will work but since your CMSMS version we have done several security fixes! Your site can be hacked now... The fixed vulnerabilities are described on internet so people can use it.

You use a trailing slash as page extension, that is the problem here.
Remove that and your form will work if I am not wrong
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
simetz
Forum Members
Forum Members
Posts: 18
Joined: Fri Nov 27, 2009 5:57 pm

Re: FormBuilder Help

Post by simetz »

Thanks!!

but when I added the code below to my .htaccess all of the trailing slashes are gone from my site pages, and the form appears to submit now with no errors, but I don't get the emails.

I saw a previous posting re hosting providers not allowing this form because the "from" email address may not be hosted there and they consider it spam, but my domain email is hosted through GMail and the test email from CMSMailer goes through without issues

-----
#RewriteCond %{REQUEST_URI} !/$
#RewriteCond %{REQUEST_URI} !\.
#RewriteCond %{REQUEST_METHOD} !POST$
#RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: FormBuilder Help

Post by Dr.CSS »

Some host don't like email sent from their servers that aren't set up on their servers, such as a gmail account email being sent from simonmets.com...
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: FormBuilder Help

Post by velden »

I saw a previous posting re hosting providers not allowing this form because the "from" email address may not be hosted there and they consider it spam, but my domain email is hosted through GMail and the test email from CMSMailer goes through without issues
Note that CMS Mailer is using the 'From' address as configured in it's settings. FormBuilder MAY use another address. It could be configured in the email disposition field AND/OR in the 'E-mail address from' field. In the latter case the email will be send as if from the website visitor (the address the visitor supplies).

For proper testing those field(s) should be filled with the same address as you used in CMS Mailer.
Post Reply

Return to “Modules/Add-Ons”