| | #1 |
| Warrior Member Join Date: 2012 Location: India
Posts: 27
Thanks: 2
Thanked 0 Times in 0 Posts
|
Hello guys, I am actually customizing my wordpress theme. I found a raw code for email subscription form. But I am unable to integrate aweber form in it. I will be very helpful if anyone can fix this. I want to add aweber to this form. Code: <div class="subscribe">
<form action="" method="post" id="subscribeForm" novalidate="novalidate" _lpchecked="1">
<input type="text" id="cemail" name="email" onfocus="if (this.value == 'Enter email here.') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Enter email here.';}" value="Enter email here." class="required email">
<button type="submit">Submit</button>
<div class="clear"></div>
<span class="errorMessage"></span>
</form>
<div class="sent" style="display: none; "></div>
</div> Thanks in advance. |
| | |
| |
| | #3 |
| Active Warrior Join Date: 2012
Posts: 66
Thanks: 0
Thanked 4 Times in 4 Posts
|
Download the widget from the url http://diythemes.com/thesis/add-email-signup-wordpress/ and install. Then copy the aweber code and paste into the widget. Afterthat you can visible it in sidebar. All the instructions are there in the url i gave. |
| | |
| |
| | #4 |
| Web Developer Join Date: 2011 Location: Dhaka
Posts: 15
Thanks: 0
Thanked 3 Times in 2 Posts
|
You can add the following code to integrate aweber form into the form code you have provided. please DO NOT JUST COPY AND PASTE IT. You must follow a few steps before you integrate this code. * Go to your aweber account * Create a web WEB FORM with only email field. * Save and go to the last step "publish" * Under "I will install my form" click on "Raw HTML version" You will see your opt in form raw code. Please copy "af-form-wrapper" "meta_web_form_id" "listname" "meta_split_id" "redirect" "meta_adtracking" values form that form and replace with this form. And you are done. Use it wherever you want. The form should work fine. Code: <div class="subscribe">
<form method="post" class="af-form-wrapper" action="YOUR AWEBER ACTION FORM URL" >
<div style="display: none;">
<input type="hidden" name="meta_web_form_id" value="YOUR WEB FORM ID" />
<input type="hidden" name="meta_split_id" value="" />
<input type="hidden" name="listname" value="YOUR LIST NAME" />
<input type="hidden" name="redirect" value="YOUR REDIRECTION URL" />
<input type="hidden" name="meta_adtracking" value="YOUR WEB FORM NAME" />
<input type="hidden" name="meta_message" value="1" />
<input type="hidden" name="meta_required" value="email" />
<input type="hidden" name="meta_tooltip" value="" />
<input type="text" id="cemail" name="email" onfocus="if (this.value == 'Enter email here.') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Enter email here.';}" value="Enter email here." class="required email">
<button type="submit">Submit</button>
<div class="clear"></div>
<span class="errorMessage"></span>
</form>
<div class="sent" style="display: none; "></div>
</div>
</div> |
| |
| The Following User Says Thank You to tarif For This Useful Post: |
| | #5 | |
| Warrior Member Join Date: 2012 Location: India
Posts: 27
Thanks: 2
Thanked 0 Times in 0 Posts
|
| |
| | ||
| |
| | #6 |
| Warrior Member Join Date: 2012 Location: India
Posts: 27
Thanks: 2
Thanked 0 Times in 0 Posts
|
@tarif Let me try if I get stuck somewhere middle of the code. I will get back to you.
|
| | |
| |
| | #7 |
| Warrior Member Join Date: 2012 Location: India
Posts: 27
Thanks: 2
Thanked 0 Times in 0 Posts
|
@tarif I am getting a error while doing this. Whenever I am trying to replace the code I am getting blank white space. here the link of the landing page. Scroll down the page for th form. http://webcreations907.com/preview/stitched/index.html |
| | |
| |
| | #8 |
| Web Developer Join Date: 2011 Location: Dhaka
Posts: 15
Thanks: 0
Thanked 3 Times in 2 Posts
|
Sorry brother I was busy whole day, I could not catch up with you. Can you please PM me the replaced code you have prepared? Thanks
|
| |
| | #9 | |
| Warrior Member Join Date: 2012 Location: India
Posts: 27
Thanks: 2
Thanked 0 Times in 0 Posts
|
Hi, Here the url of the html landing page. I want to configure aweber in this page. Stitched - Landing Page Here is the default code: <div class="subscribe"> <form action="" method="post" id="subscribeForm" novalidate="novalidate" _lpchecked="1"> <input type="text" id="cemail" name="email" onfocus="if (this.value == 'Enter email here.') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Enter email here.';}" value="Enter email here." class="required email"> <button type="submit">Submit</button> <div class="clear"></div> <span class="errorMessage"></span> </form> <div class="sent" style="display: none; "></div> </div> Here what you have sent me: <div class="subscribe"> <form method="post" class="af-form-wrapper" action="YOUR AWEBER ACTION FORM URL" > <div style="display: none;"> <input type="hidden" name="meta_web_form_id" value="YOUR WEB FORM ID" /> <input type="hidden" name="meta_split_id" value="" /> <input type="hidden" name="listname" value="YOUR LIST NAME" /> <input type="hidden" name="redirect" value="YOUR REDIRECTION URL" /> <input type="hidden" name="meta_adtracking" value="YOUR WEB FORM NAME" /> <input type="hidden" name="meta_message" value="1" /> <input type="hidden" name="meta_required" value="email" /> <input type="hidden" name="meta_tooltip" value="" /> <input type="text" id="cemail" name="email" onfocus="if (this.value == 'Enter email here.') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Enter email here.';}" value="Enter email here." class="required email"> <button type="submit">Submit</button> <div class="clear"></div> <span class="errorMessage"></span> </form> <div class="sent" style="display: none; "></div> </div> I have implemented as per your instructions through this thread: http://www.warriorforum.com/website-...ml#post6877178 When I replace the default code with your. I am getting blank white space. | |
| | ||
| |
| | #10 |
| Web Developer Join Date: 2011 Location: Dhaka
Posts: 15
Thanks: 0
Thanked 3 Times in 2 Posts
|
No, I meant I need the code after you put your aweber detail on the code format I have provided you or you can simply do one thing. * Login to your aweber account * Create a new web form with one field "email" only * Save and publish the web form * And then supply me the "Raw HTML version" code I will replace them with my form and prepare a final form for you, so you can just copy and paste it. Did you get my point? |
| |
| | #11 | |
| Warrior Member Join Date: 2012 Location: India
Posts: 27
Thanks: 2
Thanked 0 Times in 0 Posts
|
Here is the Raw HTML Version: PHP Code: | |
| | ||
| |
| | #12 |
| Warrior Member Join Date: 2012 Location: India
Posts: 27
Thanks: 2
Thanked 0 Times in 0 Posts
|
Still looking for help!
|
| | |
| |
| | #13 |
| Web Developer Join Date: 2011 Location: Dhaka
Posts: 15
Thanks: 0
Thanked 3 Times in 2 Posts
| Code: <div class="subscribe">
<form method="post" class="af-form-wrapper" action="http://www.aweber.com/scripts/addlead.pl" >
<input type="hidden" name="meta_web_form_id" value="950346254" />
<input type="hidden" name="meta_split_id" value="" />
<input type="hidden" name="listname" value="amriklist" />
<input type="hidden" name="redirect" value="http://www.aweber.com/thankyou-coi.htm?m=audio" id="redirect_b6bf8aedea4f7e814d95290fe7e71f40" />
<input type="hidden" name="meta_adtracking" value="Landing_Page" />
<input type="hidden" name="meta_message" value="1" />
<input type="hidden" name="meta_required" value="email" />
<input type="hidden" name="meta_tooltip" value="" />
<input type="text" id="cemail" name="email" onfocus="if (this.value == 'Enter email here.') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Enter email here.';}" value="Enter email here." class="required email">
<button type="submit">Submit</button>
<div class="clear"></div>
<span class="errorMessage"></span>
</form>
<div class="sent" style="display: none; "></div>
</div>
</div> Code: <div class="subscribe">
<form action="" method="post" id="subscribeForm" novalidate="novalidate" _lpchecked="1">
<input type="text" id="cemail" name="email" onfocus="if (this.value == 'Enter email here.') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Enter email here.';}" value="Enter email here." class="required email">
<button type="submit">Submit</button>
<div class="clear"></div>
<span class="errorMessage"></span>
</form>
<div class="sent" style="display: none; "></div>
</div> |
| |
| | #14 |
| Warrior Member Join Date: 2012 Location: India
Posts: 27
Thanks: 2
Thanked 0 Times in 0 Posts
|
Worked like charm. Thank you very much. |
| | |
| |
|
| Bookmarks |
| Tags |
| basic, coding, html |
| |