It is currently Sat Oct 23, 2021 11:46 pm

All times are UTC + 5:30 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Mon Mar 06, 2017 11:46 am 

Joined :
Mon Mar 06, 2017 11:30 am

Posts : 1
I wish to turn off the requirement for the phone when editing the phone.

http://imgur.com/a/AqA4B


Report this post
Top
 Profile  
 
PostPosted: Tue Mar 07, 2017 10:42 am 
Apptha Team

Joined :
Mon Dec 24, 2012 5:35 pm

Responses Posted : 59
Hello,

To turn off the phone number validation in profile page,

Go to the file path: app/design/frontend/default/stylish/template/airhotels/property/personalinfo.phtml

Here search the below code

<div class="profile_common_label"><label class="profile_label"><?php echo $this->__('Phone Number') ?><i class="lock airhotel-sprite profile_madatory"></i></label></div>
<div class="profile_input_section"><input type="text" name="contact" value="<?php if(isset($contactNumber)){ echo $contactNumber; } ?>" class="profile_input required-entry validate-mobileno" placeholder="Phone Number">

and replace with

<div class="profile_common_label"><label class="profile_label"><?php echo $this->__('Phone Number') ?><i class="lock airhotel-sprite profile_madatory"></i></label></div>
<div class="profile_input_section"><input type="text" name="contact" value="<?php if(isset($contactNumber)){ echo $contactNumber; } ?>" class="profile_input required-entry" placeholder="Phone Number">


Report this post
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 5:30 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron