Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Any way to NOT require "Name" field in squeeze box?
Tagged: name, required, squeeze page
- This topic has 12 replies, 6 voices, and was last updated 10 years, 10 months ago by florianfriedrich.
-
AuthorPosts
-
October 5, 2010 at 11:48 pm #850karlvonkriesMember
Hi T&T HQ –
I’d like to remove the testing for “Name” field to be filled out on my AJAX Squeeze Page.
The more fields required, the higher the abandonment rate.
Any way I can disable the requirement for the Name field?
Thanks!
– Karl
October 6, 2010 at 3:14 am #25104amin007ParticipantOpen the “eStore_includes.php” file and delete the following bit of code from this file which should do the job:
var name = $("input#name").val();
if (name == "") {
$("label#name_error").show();
$("input#name").focus();
return false;
}June 17, 2011 at 10:25 pm #25105d_enajeticMemberHey Amin,
This tip actually worked before, but since I updated the eStore with the latest version it does not. Though I take that part of the code out, that field is still there when it displays. Any suggestions? And yes I did the update in order to get eStore to work with WP Super Cache. Help!
June 18, 2011 at 1:08 am #25106amin007Participantwhich squeeze form shortcode are you using? Please paste the shortcode that you are using so I can look it up in the code and see what is going on.
June 18, 2011 at 1:11 am #25107d_enajeticMemberI believe there’s 3 now and I’ve tried them all. No luck.
June 18, 2011 at 1:28 am #25108amin007ParticipantOkay… That code has not changed for sure. So my only guess would be that you did not follow the upgrade instructions explained here:
http://www.tipsandtricks-hq.com/ecommerce/wordpress-estore-installation-and-usage-guide-31
So essentially you may have two copies of the eStore plugin lying around in your “plugins” directory (this can be the source of many problems). Does this sound like a possibility? Please also post a link to the page in question (where you have the squeeze form).
June 18, 2011 at 3:12 am #25109d_enajeticMemberI have to admit I’m pretty upset that I put in so much time on this today and not have anything change. I’ve deactivated, uninstalled, cleared out my plugin directory, cleared my cache, uploaded, expanded, reinstalled and re-activated this plugin several times only to have the same results. I’ve even gone as far to drop the tables and still have nothing change. Lastly, I went into the estore includes and deleted the code for the name and email fields and its still there. Something is terribly wrong here.
June 18, 2011 at 5:03 am #25110amin007ParticipantLooks like the squeeze form is working fine as you want to work (when I fill in the form I can only fill in the email field and it lets me submit the form). No name field is required so what am I missing?
Make sure to get rid of the “Non-ajax” one as the method explained here only works for the “Ajax version” (the first squeeze form on the page you mentioned works fine for me).
June 18, 2011 at 5:30 am #25111d_enajeticMemberI wanted to remove the name field entirely. I followed the steps you suggested to karlvonkries and it worked before, but now it doesn’t. All I want is the email field.
June 18, 2011 at 6:02 am #25112d_enajeticMemberFound it! I was looking in the wrong area the whole time. My apologies.
December 10, 2011 at 1:30 pm #25113sbhbwsMemberHi, I want to get rid of the name field too for the same reason. Using 5.9.9.6. Found the file, deleted the code exactly as you suggested but the name field in the opt-in form is still there! Did I miss something?
December 11, 2011 at 5:00 am #25114adminKeymasterPlease post a link to the page where you are using it and share the shortcode that you are using.
January 17, 2014 at 7:00 pm #25115florianfriedrichMemberHi,
I just purchased the wp-estore plugin. Only thing, as the other guys here: I would like to get rid of the Name field in the opt-in forms. I use these short codes:
[wp_eStore_free_download_ajax:product_id:1:end]
[wp_eStore_free_download_squeeze_form id=1]
Can you please help me?
And another thing: Is it possible to get an url of the download file, to put it as a link somewhere? Since it is encrypted, I do not know how to get just a link (without bottom, squeeze page, etc.)
Thanks a lot,
Florian
-
AuthorPosts
- You must be logged in to reply to this topic.