Author Topic: Signup form not working in wordpress blog page  (Read 4411 times)

clickbank

  • Posts: 8
    • View Profile
Signup form not working in wordpress blog page
« on: February 27, 2005, 03:00:59 pm »
I realize that this question is a little obscure.  I have a blog (http://www.patentchronicles.com) that is hosted using Wordpress.  I have created an entry in Wordpress that contains the signup form for ListMailPro.
<form method=post action=http://www.patentchronicles.com/newsletter/signup.php>
<input type=hidden name=list value=1>
First Name: <input type=text name=fname size=10><br>
Last Name: <input type=text name=lname size=10><br>
Email: <input type=text name=email><br>
<input type=submit name=sup value="Subscribe Me!">
</form>
When I submit the form I get the following message:
 "There were errors with your subscription to our mailing list.
The error messages are as follows:
You didn't enter an email address."

I did fill in an email address.
The code works if it is posted outside of Wordpress.
Other php-based forms work fine in Wordpress.
This one works just fine in Wordpress.
<form name="form" method="post" action="contactscript.php">
  <table width="400" border="0" cellpadding="2" cellspacing="2" summary="">
    <tr>
      <td width="200" valign="top" align="right">Your Name: </td>
      <td width="200" valign="top" align="left"> <input type="text" name="name" size="25" maxlength="200" />
      </td>
    </tr>
    <tr>
      <td width="200" valign="top" align="right">Your Email:</td>
      <td width="200" valign="top" align="left"> <input type="text" name="email" size="25" maxlength="100" />
      </td>
    </tr>
    <tr>
      <td width="200" valign="top" align="right">Your Comments: </td>
      <td width="200" valign="top" align="left"> <textarea name="msg" cols="25" rows="4"></textarea>
      </td>
    </tr>
    <tr>
      <td width="200" valign="top">&nbsp;</td>
      <td width="200" valign="top" align="left"> <input type="reset" name="Reset" value="Reset" />
        <input type="submit" name="Submit" value="Submit" /> </td>
    </tr>
  </table>
</form>

Any ideas?  The code can be seen at:
http://www.patentchronicles.com/monthly-patent-chronicles/
Plain (working) code at http://www.patentchronicles.com/subscribe.html

This is important to me.  If you feel that working on this problem requires compensation, please let me know.

clickbank

  • Posts: 8
    • View Profile
Got it working
« Reply #1 on: February 27, 2005, 06:47:15 pm »
Figured it out myself.
Who says size doesn't matter?
If I put a size argument in the email parameters, it works.

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Signup form not working in wordpress blog page
« Reply #2 on: February 28, 2005, 12:57:33 am »
I'm glad you figured it out.  I was going to suggest removing "www." from the form action.  On some (poorly configured?) servers this can cause variables to come through incorrectly.

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting