Jump to content

Remove "phone" from required on registration?


vidmarc

Recommended Posts

Is this possible? Some  just won't give a phone number and therefore cannot register.

In templates -  content.register.php:

 

      <div class="small-12 large-8 columns"><label for="phone" class="show-for-medium-up">{$LANG.address.phone}</label><input type="text" name="phone" id="phone"  value="{$DATA.phone}" placeholder="{$LANG.address.phone} {$LANG.form.required}" required></div>
   </div>

I just removed "{$LANG.form.required}" and it now seems to work.

 

Would be nice if there was an option in the settings to do this.

Link to comment
Share on other sites

This looks good. I want also to do the same, except that I want to eliminate all other non-essential personal information (such as delivery and billing information) for the case of digital download of freeware.

(1) How would I script it?

(2) How would I protect the code from updates?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...