Last active
          November 15, 2020 15:26 
        
      - 
      
- 
        Save max-kk/52be86f5843e57fe038550b10dd09c0e to your computer and use it in GitHub Desktop. 
    LRM :: Custom Phone Field for registration form
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <div class="fieldset fieldset--phone"> | |
| <label class="image-replace lrm-email lrm-ficon-phone" title="phone*"></label> | |
| <input name="phone" class="full-width has-padding has-border" type="text" placeholder="lrm-ficon-phone*" required=""> | |
| <span class="lrm-error-message"></span> | |
| </div> | |
| <div class="fieldset fieldset--location"> | |
| <label class="image-replace lrm-email lrm-ficon-location" title=""></label> | |
| <input name="location" class="full-width has-padding has-border" type="text" placeholder=".lrm-ficon-location" required=""> | |
| <span class="lrm-error-message"></span> | |
| </div> | |
| <div class="fieldset fieldset--map"> | |
| <label class="image-replace lrm-email lrm-ficon-map" title=""></label> | |
| <input name="address1" class="full-width has-padding has-border" type="text" placeholder=".lrm-ficon-map" required=""> | |
| <span class="lrm-error-message"></span> | |
| </div> | |
| <div class="fieldset fieldset--compass"> | |
| <label class="image-replace lrm-email lrm-ficon-compass" title=""></label> | |
| <input name="address2" class="full-width has-padding has-border" type="text" placeholder=".lrm-ficon-compass" required=""> | |
| <span class="lrm-error-message"></span> | |
| </div> | |
| <div class="fieldset fieldset--mobile-phone"> | |
| <label class="image-replace lrm-email lrm-ficon-mobile-phone" title=""></label> | |
| <input name="mobile" class="full-width has-padding has-border" type="text" placeholder=".lrm-ficon-mobile-phone" required=""> | |
| <span class="lrm-error-message"></span> | |
| </div> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?php | |
| //COPY AFTER // | |
| remove_action('lrm/register_form/before_button', array(LRM_Pro_Form::get(), 'before_registration_form_button__action'), 9); | |
| add_action('lrm/register_form', array(LRM_Pro_Form::get(), 'before_registration_form_button__action'), 9); | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment