PrestaShop Forums: Changing Required Field is not required to be. - PrestaShop Forums

Jump to content


Welcome to the PrestaShop Forum! We hope you'll share your comments and suggestions with us. We ask that you please post in English to the main sections of the PrestaShop Forum. If you want to write in another language, please post in the corresponding PrestaShop Community section below.

Please note that PrestaShop Community sections are largely self-moderated. PrestaShop team members may or may not participate in non-English sections. To improve the chances of receiving feedback to your question or comment, please post it in English to the main sections of our Forum.

NYC

Vous parlez français ? par ici !


Changing Required Field is not required to be.


Changing Required Field is not required to be.

#1 cokry

    PrestaShop Newbie

  • 04 Feb 2010
  • Members
  • Pip
  • 5 posts

Posted 08 February 2010 - 08:41 AM

I want to ask, how to change the required field on the registration form is not mandatory. Please enlightenment of the Senior gentlemen.

Thank you in advance.

#2

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 08 February 2010 - 12:43 PM

What field are you trying to make not required?

#3

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 09 February 2010 - 04:31 AM

I want to remove the last name field is not required.

#4

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 09 February 2010 - 04:54 AM

It is not possible to make that field not required. I tried before, and it caused many "Hack attempts", since Prestashop uses it a lot. To do this for a client, I ended up setting the default last name to 'Xxx' and then used style="display:none" to hide the last name from the user's view. I had to modify the many references to the last name in the Back Office and emails so that it checked for 'Xxx' and converted it to ''.

In short, there is no simple solution.

#5

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 09 February 2010 - 10:46 AM

And it's possible to made the phone field mandatory?

I would like all my clients put it.

#6

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 09 February 2010 - 10:55 AM

Yes, it is easy to make the phone field mandatory. See here.

#7

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 09 February 2010 - 01:39 PM

It is not possible to make that field not required





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users