We make tools that make websites.

Support Forums

   

Freeform 3 not creating entries or redirecting properly

Rank

Total Posts: 7

Joined: Apr 24, 2009

PM

Ignore

 

I’m getting no entries entered into my Freeform control panel, no notification email, and the redirect goes to the home page.

Hoping someone can give my code a look-over and tell me what’s messed up.

Using Freeform v3 on EEv2.0.2pb01, Build: 20100430   PHP 5.2.9

EE Code:

{exp:freeform:form collection="Contact Form" required="name|email|phone1|message" return="contact/thanks" notify="admin@ramseymediaworks.com" template="contact_form"}
     
<p><label>*Name</label><br />
          <
input type="text" name="name" /></p>
       <
p><label>*Email Address</label><br />
         <
input type="text" name="email" /></p>
      <
p><label>*Phone</label><br />
          <
input type="text" name="phone" /></p>
         <
p><label>*Tell us about your project:</label><br />
          <
textarea rows="10" name="message"></textarea></p>
         <
p><input class="button" type="submit" name="submit" value="Submit" /></p>
{/exp:freeform:form} 

Output Code:

<form id="freeform" method="post" action="http://ramseymediaworks.com/ee2/index.php"  >
<
div class='hiddenFields'>
<
input type="hidden" name="ACT" value="8" />
<
input type="hidden" name="URI" value="contact" />
<
input type="hidden" name="XID" value="1f71359cc3c5f71a355e59192e33b2870cb9d0c9" />
<
input type="hidden" name="status" value="open" />
<
input type="hidden" name="return" value="http://www.ramseymediaworks.com/ee2/index.php/contact/thanks" />
<
input type="hidden" name="redirect_on_duplicate" value="" />
<
input type="hidden" name="RET" value="http://ramseymediaworks.com/ee2/index.php/contact" />
<
input type="hidden" name="form_name" value="Contact Form" />
<
input type="hidden" name="id" value="freeform" />
<
input type="hidden" name="params_id" value="12" />
<
input type="hidden" name="site_id" value="1" />
</
div>


<
p><label>*Name</label><br />
<
input type="text" name="name" /></p>
<
p><label>*Email Address</label><br />
<
input type="text" name="email" /></p>
<
p><label>*Phone</label><br />
<
input type="text" name="phone" /></p>
<
p><label>*Tell us about your project:</label><br />
<
textarea rows="10" name="message"></textarea></p>
<
p><input class="button" type="submit" name="submit" value="Submit" /></p>

</
form
Avatar
RankRankRank

Total Posts: 975

Joined: Oct 27, 2009

PM

Ignore

 

Hi ramseymedia,

Thank you for contacting us. Someone will help you with this soon. smile

Signature

Avatar
RankRankRankRankRank

Total Posts: 13508

Joined: Oct 18, 2006

PM

Ignore

 

ramseymedia,

What happens if you copy and paste JUST that code into a new, clean, empty template? Also, on the current implementation, are you using any JS validation or do you have any special .htaccess rewrites? smile

Signature

Rank

Total Posts: 7

Joined: Apr 24, 2009

PM

Ignore

 

I put it in an empty template

No dice.

No JS validation, the only .htaccess rewrite I have in place is to redirect non ‘www’ requests to the ‘www’ version.

Also, if I leave required fields blank, it doesn’t give me a warning, so not really sure what’s going on.

Avatar
RankRankRankRankRank

Total Posts: 13508

Joined: Oct 18, 2006

PM

Ignore

 
ramseymedia - 01 June 2010 03:06 PM

No JS validation, the only .htaccess rewrite I have in place is to redirect non ‘www’ requests to the ‘www’ version.

Believe it or not, that’s a common issue. Try removing that rewrite (at least just to test) and you’ll see Freeform will likely start working again smile

Signature

Rank

Total Posts: 7

Joined: Apr 24, 2009

PM

Ignore

 

Removing the .htaccess rule worked!

How can I set it up to redirect and still keep FreeForm working?

Avatar
RankRankRankRankRank

Total Posts: 13508

Joined: Oct 18, 2006

PM

Ignore

 

Sorry, the issue could be actually quite complex if I remember it correctly. There is also this thread:
http://www.solspace.com/forums/viewthread/1357/#6986

I remember there being a different thread on the forums here that sort of explained the issue in depth, and how to go about getting around it, but I cannot find it. smile

Signature