cooletin Posted November 15, 2013 Share Posted November 15, 2013 Hello! My customer can registrate first time because they will get a error message that they have not fill out last name and first name, but they do. something is wrong on my site. please help me. Link to comment Share on other sites More sharing options...
cooletin Posted November 15, 2013 Author Share Posted November 15, 2013 I mean they cant register Link to comment Share on other sites More sharing options...
NemoPS Posted November 15, 2013 Share Posted November 15, 2013 Hi, are you using a custom template, or do you have any core modification/override installed? Is there a chance you can link the website? Link to comment Share on other sites More sharing options...
vekia Posted November 15, 2013 Share Posted November 15, 2013 Hello! My customer can registrate first time because they will get a error message that they have not fill out last name and first name, but they do. something is wrong on my site. please help me. can you share url to your website please? i will inspect code and also try to register Link to comment Share on other sites More sharing options...
cooletin Posted November 18, 2013 Author Share Posted November 18, 2013 www.cooleting.no. its a problem when you use autofill. Link to comment Share on other sites More sharing options...
cooletin Posted November 18, 2013 Author Share Posted November 18, 2013 I using a custom template. I have removed some lines, so its more easy to register Link to comment Share on other sites More sharing options...
ExpressTech Posted November 18, 2013 Share Posted November 18, 2013 I don't think you can just remove the field from the tpl file, you will need to edit the Controller where its being validated as well. I wouldn't recommend both of these approached, though. check these out http://www.prestashop.com/forums/topic/276280-setting-required-fields-in-customer-registration/ http://www.prestashop.com/forums/topic/150775-solvedhow-to-make-address-and-phone-field-not-required-ps-1451/ Link to comment Share on other sites More sharing options...
cooletin Posted November 18, 2013 Author Share Posted November 18, 2013 but when you remove the autofill in first name and last name and write it, it works. HAve to be something else. Everything else works. Link to comment Share on other sites More sharing options...
NemoPS Posted November 18, 2013 Share Posted November 18, 2013 I think vikas is right, unfortunately you can't just remove some lines. If you want to, however, I'd suggest using a little trick: add visibility: none; and height: 0; to the p tags that contain them, prefilling with a standard value Link to comment Share on other sites More sharing options...
cooletin Posted November 19, 2013 Author Share Posted November 19, 2013 I think maybe I explaine a little bit bad. If you go to my site and register with autofill. The browser fill out name an adress. If I do it like that it will not work because the site will ask to fill out out firstname and last name one more time. If I write firstname and lastname it works with no problem. But many have autofill they use on their computer now. Link to comment Share on other sites More sharing options...
NemoPS Posted November 19, 2013 Share Posted November 19, 2013 Yes, unfortunately that's a small bug with autofill Link to comment Share on other sites More sharing options...
cooletin Posted November 19, 2013 Author Share Posted November 19, 2013 ok, so its not possible to fix this? Link to comment Share on other sites More sharing options...
cooletin Posted November 19, 2013 Author Share Posted November 19, 2013 thats really a big problem because many just drop to register. Link to comment Share on other sites More sharing options...
Recommended Posts