*

Web

  • ****
  • 183 posts
user verification readonly
« on: April 16, 2020, 01:04:12 PM »
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>
« Last Edit: April 16, 2020, 01:10:41 PM by Web »

*

MB Themes

Re: user verification readonly
« Reply #1 on: April 16, 2020, 02:49:13 PM »
Create support ticket.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots