Hi,
How to solve?
New User - not allow to edit phone number
Post Ad - allow to edit phone number
User verification mobile field not showing
<div class="sms-row">
<?php if($type == 'USER') { ?>
<label for="name"><?php _e('User', 'sms'); ?></label>
<div class="sms-input-box sms-only-text"><?php echo $user['s_name']; ?></div>
<br />
<div class="sms-row">
<label for="phoneNumber"><?php _e('Mobile Phone', 'sms'); ?></label>
<input id="phoneNumber" type="tel" name="phoneNumber" class="sms-input-field" value="<?php echo $phone_number; ?>" readonly="readonly"/>
<?php } else { ?>
<label for="name"><?php _e('Item', 'sms'); ?></label>
<div class="sms-input-box sms-only-text"><?php echo $item['s_title'] . ' (' . $item['pk_i_id'] . ')'; ?></div>
<br />
<label for="phoneNumber"><?php _e('Mobile Phone', 'sms'); ?></label>
<input id="phoneNumber" type="tel" name="phoneNumber" class="sms-input-field" value="<?php echo $phone_number; ?>"/>
<?php } ?>
</div>
<button type="submit" class="alpBg mbBg sms-button sms-button-primary sms-send-code <?php echo ($phone_number == '' ? 'disabled' : ''); ?>"><?php _e('Send verification code', 'sms'); ?></button>
</form>