Need Help With Email Form Code...Probably Simple Answer

by Matt Bard 8 replies
I'm trying to keep one section of the old code.

I'm having one of those days. This should be simple and I have made it complicated out of my frustration.

I have a squeeze page template that uses an Aweber form code, along with a "class code" for the name and email sections.

I am using an Imnica account for this and having a major brain malfunction and obviously overlooking something simple, but it isn't working.

So here I am humbly asking for a quick fix.

The current template code is:

<div id="emailcode"><!-- ENTER YOUR AUTORESPONDER CODE BELOW -->

<form action="http://www.aweber.com/scripts/addlead.pl" method="post">
<input type="hidden" name="unit" value="<PUT YOUR LIST NAME HERE>" />
<input type="hidden" name="redirect" value="<PUT YOUR THANK YOU PAGE URL HERE>" />
<input type="hidden" name="meta_adtracking" value="<PUT YOUR LIST TRACKING INFO HERE>" />
<input type="hidden" name="meta_message" value="1" />
<input type="hidden" name="meta_required" value="name,email" />
<input type="hidden" name="meta_forward_vars" value="0" />
<input class="namefield" type="text" size="15" name="name" value="Enter Your Name" onblur="if (this.value == '') {this.value = 'Enter Your Name';}" onfocus="if (this.value == 'Enter Your Name') {this.value = '';}" />
<input class="emailfield" type="text" size="15" name="email" value="Enter Your Mail" onblur="if (this.value == '') {this.value = 'Enter Your Mail';}" onfocus="if (this.value == 'Enter Your Mail') {this.value = '';}"/>
<input class="button" type="image" src="http://www.warriorforum.com/images/button1.jpg" name="submit" alt="Submit Button" />
</form>

</div><!-- ENTER YOUR AUTORESPONDER CODE ABOVE -->

While my Imnica code is this:

<div class="o-form"><div class="o-form-header"><h2 id="o-form-title">Mail List Subscription Form</h2><p id="o-form-description">Please fill in and submit the form below to subscribe to our mailing list.</p></div><form action="http://www.imnicamail.com/v4/subscribe.php" method="post" accept-charset="UTF-8"><div class="o-form-row"><label for="FormValue_EmailAddress">Email Address</label><input name="FormValue_Fields[EmailAddress]" value="" id="FormValue_EmailAddress" type="text"></div><div class="o-form-row"><label for="FormValue_CustomField7638">Name</label><input name="FormValue_Fields[CustomField7638]" value="" id="FormValue_CustomField7638" type="text"></div><input name="FormButton_Subscribe" value="Subscribe" id="FormButton_Subscribe" type="submit"><input name="FormValue_ListID" value="6681" type="hidden"><input name="FormValue_Command" value="Subscriber.Add" id="FormValue_Command" type="hidden"></form><style type="text/css" media="screen">.o-form{background-color:#fff;border:1px solid #f2f2f2;}
.o-form form{margin:0px;padding:0px;}
.o-form .o-form-header{background-color:#f2f2f2;padding:9px;}
.o-form h2{font-family:Arial,sans-serif;font-size:18px;line-height:27px;margin:0px;padding:0px;}
.o-form p{font-family:Arial,sans-serif;font-size:12px;line-height:18px;margin:0px;padding:0px;}
.o-form .o-form-row{margin-top:9px;padding:0 9px;}
.o-form .o-form-row label{font-family:Arial,sans-serif;font-size:12px;display:block;font-weight:bold;}
.o-form input[type="submit"]{margin:20px 9px 18px 9px;}
</style></div>

I just want to use my Imnica list with the template code for Aweber above.

Thanks

Matt
#website design #frustrated #warrior
Avatar of Unregistered
  • Profile picture of the author WCRocket
    Originally Posted by Matt Maiden View Post

    I'm having one of those days. This should be simple and I have made it complicated out of my frustration.

    I have a squeeze page template that uses an Aweber form code, along with a "class code" for the name and email sections.

    I am using an Imnica account for this and having a major brain malfunction and obviously overlooking something simple, but it isn't working.

    So here I am humbly asking for a quick fix.

    The current template code is:

    <div id="emailcode"><!-- ENTER YOUR AUTORESPONDER CODE BELOW -->

    <form action="http://www.aweber.com/scripts/addlead.pl" method="post">
    <input type="hidden" name="unit" value="<PUT YOUR LIST NAME HERE>" />
    <input type="hidden" name="redirect" value="<PUT YOUR THANK YOU PAGE URL HERE>" />
    <input type="hidden" name="meta_adtracking" value="<PUT YOUR LIST TRACKING INFO HERE>" />
    <input type="hidden" name="meta_message" value="1" />
    <input type="hidden" name="meta_required" value="name,email" />
    <input type="hidden" name="meta_forward_vars" value="0" />
    <input class="namefield" type="text" size="15" name="name" value="Enter Your Name" onblur="if (this.value == '') {this.value = 'Enter Your Name';}" onfocus="if (this.value == 'Enter Your Name') {this.value = '';}" />
    <input class="emailfield" type="text" size="15" name="email" value="Enter Your Mail" onblur="if (this.value == '') {this.value = 'Enter Your Mail';}" onfocus="if (this.value == 'Enter Your Mail') {this.value = '';}"/>
    <input class="button" type="image" src="http://www.warriorforum.com/images/button1.jpg" name="submit" alt="Submit Button" />
    </form>

    </div><!-- ENTER YOUR AUTORESPONDER CODE ABOVE -->

    While my Imnica code is this:

    <div class="o-form"><div class="o-form-header"><h2 id="o-form-title">Mail List Subscription Form</h2><p id="o-form-description">Please fill in and submit the form below to subscribe to our mailing list.</p></div><form action="http://www.imnicamail.com/v4/subscribe.php" method="post" accept-charset="UTF-8"><div class="o-form-row"><label for="FormValue_EmailAddress">Email Address</label><input name="FormValue_Fields[EmailAddress]" value="" id="FormValue_EmailAddress" type="text"></div><div class="o-form-row"><label for="FormValue_CustomField7638">Name</label><input name="FormValue_Fields[CustomField7638]" value="" id="FormValue_CustomField7638" type="text"></div><input name="FormButton_Subscribe" value="Subscribe" id="FormButton_Subscribe" type="submit"><input name="FormValue_ListID" value="6681" type="hidden"><input name="FormValue_Command" value="Subscriber.Add" id="FormValue_Command" type="hidden"></form><style type="text/css" media="screen">.o-form{background-color:#fff;border:1px solid #f2f2f2;}
    .o-form form{margin:0px;padding:0px;}
    .o-form .o-form-header{background-color:#f2f2f2;padding:9px;}
    .o-form h2{font-family:Arial,sans-serif;font-size:18px;line-height:27px;margin:0px;padding:0px;}
    .o-form p{font-family:Arial,sans-serif;font-size:12px;line-height:18px;margin:0px;padding:0px;}
    .o-form .o-form-row{margin-top:9px;padding:0 9px;}
    .o-form .o-form-row label{font-family:Arial,sans-serif;font-size:12px;display:block;font-weight:bold;}
    .o-form input[type="submit"]{margin:20px 9px 18px 9px;}
    </style></div>

    I just want to use my Imnica list with the template code for Aweber above.

    Thanks

    Matt
    Matt,

    I trying to wrap my brain around what problem you may be having. Below I replaced the aweber form template with the imnica. Hopefully this is what you are looking for.

    Code:
    <div id="emailcode"><!-- ENTER YOUR AUTORESPONDER CODE BELOW -->
    
    <div class="o-form"><div class="o-form-header"><h2 id="o-form-title">Mail List Subscription Form</h2><p id="o-form-description">Please fill in and submit the form below to subscribe to our mailing list.</p></div><form action="http://www.imnicamail.com/v4/subscribe.php" method="post" accept-charset="UTF-8"><div class="o-form-row"><label for="FormValue_EmailAddress">Email Address</label><input name="FormValue_Fields[EmailAddress]" value="" id="FormValue_EmailAddress" type="text"></div><div class="o-form-row"><label for="FormValue_CustomField7638">Name</label><input name="FormValue_Fields[CustomField7638]" value="" id="FormValue_CustomField7638" type="text"></div><input name="FormButton_Subscribe" value="Subscribe" id="FormButton_Subscribe" type="submit"><input name="FormValue_ListID" value="6681" type="hidden"><input name="FormValue_Command" value="Subscriber.Add" id="FormValue_Command" type="hidden"></form><style type="text/css" media="screen">.o-form{background-color:#fff;border:1px solid #f2f2f2;}
    .o-form form{margin:0px;padding:0px;}
    .o-form .o-form-header{background-color:#f2f2f2;padding:9px;}
    .o-form h2{font-family:Arial,sans-serif;font-size:18px;line-height:27px;margin:0px;padding:0px;}
    .o-form p{font-family:Arial,sans-serif;font-size:12px;line-height:18px;margin:0px;padding:0px;}
    .o-form .o-form-row{margin-top:9px;padding:0 9px;}
    .o-form .o-form-row label{font-family:Arial,sans-serif;font-size:12px;display:block;font-weight:bold;}
    .o-form input[type="submit"]{margin:20px 9px 18px 9px;}
    </style></div>
    
    </div><!-- ENTER YOUR AUTORESPONDER CODE ABOVE -->
    {{ DiscussionBoard.errors[3634356].message }}
  • Profile picture of the author Matt Bard
    Hey Thanks WCRocket,

    Yes I wasn't really clear when I read the post again.

    I was trying to replace the Aweber code with my Imnica but still keep the bottom section of the Aweber where it has the input class for the name and email and the subscribe button:

    <input class="namefield" type="text" size="15" name="name" value="Enter Your Name" onblur="if (this.value == '') {this.value = 'Enter Your Name';}" onfocus="if (this.value == 'Enter Your Name') {this.value = '';}" />
    <input class="emailfield" type="text" size="15" name="email" value="Enter Your Mail" onblur="if (this.value == '') {this.value = 'Enter Your Mail';}" onfocus="if (this.value == 'Enter Your Mail') {this.value = '';}"/>
    <input class="button" type="image" src="http://www.warriorforum.com/images/button1.jpg" name="submit" alt="Submit Button" />

    The other problem is getting rid of the Imnica grey form that says:
    "Mail List Subscription Form"
    "Please fill in and submit the form below to subscribe to our mailing list"

    I guess the better way to ask the question is, How do I use this part of their form:



    with my Imnica code?

    Thank you for your help

    Matt
    {{ DiscussionBoard.errors[3634612].message }}
    • Profile picture of the author WCRocket
      Originally Posted by Matt Maiden View Post

      Hey Thanks WCRocket,

      Yes I wasn't really clear when I read the post again.

      I was trying to replace the Aweber code with my Imnica but still keep the bottom section of the Aweber where it has the input class for the name and email and the subscribe button:

      <input class="namefield" type="text" size="15" name="name" value="Enter Your Name" onblur="if (this.value == '') {this.value = 'Enter Your Name';}" onfocus="if (this.value == 'Enter Your Name') {this.value = '';}" />
      <input class="emailfield" type="text" size="15" name="email" value="Enter Your Mail" onblur="if (this.value == '') {this.value = 'Enter Your Mail';}" onfocus="if (this.value == 'Enter Your Mail') {this.value = '';}"/>
      <input class="button" type="image" src="http://www.warriorforum.com/images/button1.jpg" name="submit" alt="Submit Button" />

      The other problem is getting rid of the Imnica grey form that says:
      "Mail List Subscription Form"
      "Please fill in and submit the form below to subscribe to our mailing list"

      I guess the better way to ask the question is, How do I use this part of their form:



      with my Imnica code?

      Thank you for your help

      Matt
      Thanks for the clarification. Try this code below. I modified the Imnica form code with the parts of the Aweber form you requested.

      Code:
      <div class="o-form">
          <form action="http://www.imnicamail.com/v4/subscribe.php" method="post" accept-charset="UTF-8">
              <div class="o-form-row">
                  <input name="FormValue_Fields[EmailAddress]" id="FormValue_EmailAddress" type="text" size="15" name="name" value="Enter Your Name" onblur="if (this.value == '') {this.value = 'Enter Your Name';}" onfocus="if (this.value == 'Enter Your Name') {this.value = '';}" />
              </div>
              <div class="o-form-row">
                  <input name="FormValue_Fields[CustomField7638]" id="FormValue_CustomField7638" type="text" size="15" name="email" value="Enter Your Mail" onblur="if (this.value == '') {this.value = 'Enter Your Mail';}" onfocus="if (this.value == 'Enter Your Mail') {this.value = '';}" />
              </div>
              <input name="FormButton_Subscribe" id="FormButton_Subscribe" class="button" type="image" src="http://www.warriorforum.com/images/button1.jpg" name="submit" alt="Submit Button" />
              <input name="FormValue_ListID" value="6681" type="hidden">
              <input name="FormValue_Command" value="Subscriber.Add" id="FormValue_Command" type="hidden">
          </form>
          <style type="text/css" media="screen">
          .o-form{background-color:#fff;border:1px solid #f2f2f2;}
          .o-form form{margin:0px;padding:0px;}
          .o-form .o-form-header{background-color:#f2f2f2;padding:9px;}
          .o-form .o-form-row{margin-top:9px;padding:0 9px;}
          .o-form .o-form-row label{font-family:Arial,sans-serif;font-size:12px;display:block;font-weight:bold;}
          .o-form input[type="submit"]{margin:20px 9px 18px 9px;}
          </style>
      </div>
      {{ DiscussionBoard.errors[3634948].message }}
  • Profile picture of the author Matt Bard
    WCRocket, that works.

    Thank you.

    I'm going to give a few Twitter shout outs for you
    {{ DiscussionBoard.errors[3634966].message }}
    • Profile picture of the author WCRocket
      Matt, no problem. Let me know if there is anything else I can do to help.
      {{ DiscussionBoard.errors[3634997].message }}
  • Profile picture of the author LaTonya Johnson
    Lord, I'm getting frustrated...

    How to I redirect to my Thank You page (Thank You - Live Interviews with LaTonya :Live Interviews with LaTonya) after someone signs up?

    Here is my code:

    <form accept-charset="UTF-8" action="http://www.imnicamail.com/v4/subscribe.php" method="post">
    <div class="o-form-row" style="text-align: center;"><label for="FormValue_CustomField8161">First Name</label></div>
    <div class="o-form-row" style="text-align: center;"><input id="FormValue_CustomField8161" name="FormValue_Fields[CustomField8161]" type="text" value="" /></div>
    <div class="o-form-row" style="text-align: center;">&nbsp;</div>
    <div class="o-form-row" style="text-align: center;">&nbsp; <label for="FormValue_EmailAddress">Primary Email Address</label></div>
    <div class="o-form-row" style="text-align: center;"><input id="FormValue_EmailAddress" name="FormValue_Fields[EmailAddress]" type="text" value="" /></div>
    <p style="text-align: center;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;<br />
    <input id="FormButton_Subscribe" name="FormButton_Subscribe" type="submit" value="Subscribe Now!" /> <input name="FormValue_ListID" type="hidden" value="7475" /> <input id="FormValue_Command" name="FormValue_Command" type="hidden" value="Subscriber.Add" /></p>
    </form>
    <p>
    <style media="screen" type="text/css">.o-form{background-color:#fff;border:1px solid #f2f2f2;}
    .o-form form{margin:0px;padding:0px;}
    .o-form .o-form-header{background-color:#f2f2f2;padding:9px;}
    .o-form h2{font-family:Arial,sans-serif;font-size:18px;line-height:27px;margin:0px;padding:0px;}
    .o-form p{font-family:Arial,sans-serif;font-size:12px;line-height:18px;margin:0px;padding:0px;}
    .o-form .o-form-row{margin-top:9px;padding:0 9px;}
    .o-form .o-form-row label{font-family:Arial,sans-serif;font-size:12px;display:block;font-weight:bold;}
    .o-form input[type="submit"]{margin:20px 9px 18px 9px;}</style>
    </p>

    Thanks in advance for your help;-)
    {{ DiscussionBoard.errors[3897487].message }}
Avatar of Unregistered

Trending Topics