Form Name and Template not written to DB
Posted: 15 May 2007 01:00 PM   [ Ignore ]
Newbie
Rank
Total Posts:  3
Joined  2006-12-01

Hello,

I have FreeForm 2.5 installed. Everything seems to be working ok, however, when a form is submitted it never records the Form Name or Template in the database. I run a couple different forms on my website and use differnt form name to track which pages users are contacting me from. The only real difference between each form is the form name. Here’s my code for one of them. What am I doing wrong?

{exp:freeform:form form_name="sidebar_contactform" return="GISrealty/thank_you" notify="textmessage@mydomain.com|webmanager@mydomain.com" required="name|email|phone1" send_user_email="no" template="new_inquiry"}

Your Full Name:

<input type="text" name="name" size="40" />

Your Email:

<input type="text" id="from" name="email" size="40" maxlength="35" />

Your Phone Number:

<input type="text" id="from" name="phone1" size="40" maxlength="12" />

Are you currently working with a real estate agent?

<select name="agentYN">
<option value="none selected">-</option>
<option value="no">No</option>
<option value="yes">Yes</option>
</select>

If yes, who?

<input type="text" name="agent_name" value="” size="20" maxlength="20" style="width:140px;" />

Question or Message:

<textarea id="message" name="message" rows="7" cols="30"></textarea>
<div class="divider2"></div>

Optional Information

Are you Buying or Selling?

<select name="category">
<option value="none selected">-</option>
<option value="Buying">Buying</option>
<option value="Selling">Selling</option>
<option value="Both">Both</option>
</select>

What is your timeframe?

<select name="timeframe">
<option value="none selected">-</option>
<option value="now">Now</option>
<option value="next 3-5 months">next 3-5 months</option>
<option value="next 6-12 months">next 6-12 months</option>
<option value="next 12 or more months">next 12 or months</option>
</select>

Bedrooms

<select name="beds">
<option value="none selected">-</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
</select>

Baths

<select name="baths">
<option value="none selected">-</option>
<option value="1">1</option>
<option value="1.5">1.5</option>
<option value="2">2</option>
<option value="2.5">2.5</option>
<option value="3">3</option>
<option value="3.5">3.5</option>
<option value="4+">4+</option>
</select>

Size (square feet)

<select name="size">
<option value="none selected">-</option>
<option value="less than 1000">less than 1000</option>
<option value="1000 to 1500">1000 to 1500</option>
<option value="1500 to 2000">1500 to 2000</option>
<option value="2000 to 2500">2000 to 2500</option>
<option value="2500 to 3000">2500 to 3000</option>
<option value="3000 to 3500">3000 to 3500</option>
<option value="3500 or more">3500 or more</option>
</select>

Price Range

<select name="range">
<option value="none selected">-</option>
<option value="less than $100,000">less than $100,000</option>
<option value="$100,000 to $150,000">$100,000 to $150,000</option>
<option value="$150,000 to $200,000">$150,000 to $200,000</option>
<option value="$200,000 to $250,000">$200,000 to $250,000</option>
<option value="$250,000 to $300,000">$250,000 to $300,000</option>
<option value="$300,000 to $350,000">$300,000 to $350,000</option>
<option value="$350,000 or $400,000">$350,000 to $400,000</option>
<option value="$400,000 or $500,000">$400,000 to $500,000</option>
<option value="$500,000 or more">$500,000 or more</option>
</select>

Have you been pre-qualified with a mortgage lender?

<select name="prequal">
<option value="none selected">-</option>
<option value="no">No</option>
<option value="yes">Yes</option>
</select>

Location/Area of Interest

<select name="area[]" multiple="multiple" >
<option value="Frisco">Frisco</option>
<option value="Little Elm">Little Elm</option>
<option value="McKinney">McKinney</option>
<option value="Plano">Plano</option>
<option value="Allen">Allen</option>
<option value="Prosper">Prosper</option>
<option value="Celina">Celina</option>
<option value="Dallas">Dallas</option>
<option value="Southlake">Southlake</option>
<option value="Keller">Keller</option>
<option value="Fairview">Fairview</option>
<option value="Garland">Garland</option>
<option value="Richardson">Richardson</option>
<option value="Las Colinas">Las Colinas</option>
<option value="Rockwall">Rockwall</option>
<option value="Other">Other - Not Listed</option>
</select>

{if captcha}
Please enter the word you see in the image below:
{captcha}

<input type="text" name="captcha" value="” size="20" maxlength="20" style="width:140px;" />
{/if}

<input name="submit" type=’submit’ value=’Submit Form’ />
{/exp:freeform:form}

Profile
 
 
Posted: 16 May 2007 07:35 AM   [ Ignore ]   [ # 1 ]
Jr. Member
RankRank
Total Posts:  36
Joined  2005-04-25

I don’t have an answer for you, but I can replicate the problem of not having a template name added. My form name is being added. I’m using 2.5.1.

Profile
 
 
Posted: 16 May 2007 09:23 AM   [ Ignore ]   [ # 2 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  701
Joined  2004-03-30

Immdweb,

Try the newest version if you’re not already. And also, let us know if the form is being submitted after an initial attempt where errors in the form were detected.

mk

 Signature 

Mitchell Kimbrough

Profile
 
 
Posted: 16 May 2007 04:26 PM   [ Ignore ]   [ # 3 ]
Newbie
Rank
Total Posts:  3
Joined  2006-12-01

Hello,

Thanks for the response. I am running the latest version of Freeform. No errors are detected before or after the form is sumitted. The form contents reach the intended receiver and all else seems to be ok. However, when I go to the Freeform Module link in the EE control panel and choose “Entries”, the Form Name and Template columns are all blank while the other columns are populated just fine. I checked the actual database through a 3rd part software program and they are indeed empty in the database.

Thanks!

Profile
 
 
Posted: 16 May 2007 04:36 PM   [ Ignore ]   [ # 4 ]
Newbie
Rank
Total Posts:  3
Joined  2006-12-01

Whoops! My bad. I thought I was running the latest version. It was only 2.5.1. I just downloaded 2.5.2 and it works!

Thanks,

IMMD

Profile
 
 
Posted: 16 May 2007 04:40 PM   [ Ignore ]   [ # 5 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  701
Joined  2004-03-30

Excellent. Great to hear it.

 Signature 

Mitchell Kimbrough

Profile