Hi,
- Go to your “plugins” directory.
- Locate and copy this template file “pie-register/pie_register_template/registration/registration_form_template.php”
- Go to your current theme’s directory. Paste it in same folder order. e.g. “your-theme-directory/pie-register/pie_register_template/registration/registration_form_template.php”
- Now edit the template file “registration_form_template.php”. Find function addName() and find and replace below changes.
On line no. 370:
$data .= '<input '.$this->read_only.' value="'.$this->getDefaultValue('first_name').'" placeholder="'.$placeholder.'" data-field_id="'.$this->get_pr_widget_prefix().'piereg_field_'.$this->no.'" id="'.$this->id.'_firstname" name="first_name" class="'.$this->addClass('input_fields',['maxSize[15]']).' piereg_name_input_field '.$cl_class.'"'.$cl_data.' '.$this->addValidation().' type="text" />';
On line no. 379:
$data .= '<input '.$this->read_only.' value="'.$this->getDefaultValue('last_name').'" placeholder="'.$placeholder2.'" id="'.$this->id.'_lastname" name="last_name" class="'.$this->addClass('input_fields',['maxSize[15]']).' piereg_name_input_field" '.$this->addValidation().' type="text" />';
Thanks
-
This reply was modified 4 years, 5 months ago by
genetech.