Jump to content

customer register form


Guest

Recommended Posts

Can somebody tell my if it is possible to make the field telephone not an necessary field to fill in.

Many people use these days mobile phone and dont have a regular telephone number anymore.

I like to make the field telephone not a necessary field to fill in. How can i make this possible.

I hope someone can and will help me.

Thanks in advance.

Gerda

Link to comment
Share on other sites

open includes/content/reg.inc.php

FIND

|| empty($_POST['phone'])
 and delete it



FIND
 } elseif(!ereg("[0-9]",$_POST['phone'])) {

	

	$errorMsg = $lang['front']['reg']['enter_valid_tel'];
 and delete it



save close and reupload  includes/content/reg.inc.php



open includes/content/profile.inc.php



FIND 
|| empty($_POST['phone'])
 and delete it



FIND
 } elseif(!ereg("[0-9]",$_POST['phone'])) {

	

	$errorMsg = $lang['front']['reg']['enter_valid_tel'];

and delete it

save close and reupload includes/content/profile.inc.php

this will remove the requirement for phone field

Link to comment
Share on other sites

I have visted that forum but i cant find it. Can you give me a link.

thanks in advance

Well it's on this page - look for 'Require Less at Registration' :wacko:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...