Title: jskdn's Replies | WordPress.org

---

# jskdn

  [  ](https://wordpress.org/support/users/jskdn/)

 *   [Profile](https://wordpress.org/support/users/jskdn/)
 *   [Topics Started](https://wordpress.org/support/users/jskdn/topics/)
 *   [Replies Created](https://wordpress.org/support/users/jskdn/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/jskdn/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/jskdn/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/jskdn/engagements/)
 *   [Favorites](https://wordpress.org/support/users/jskdn/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SimpleModal Login] [Plugin: SimpleModal Login] No generated password, Users must enter their own password](https://wordpress.org/support/topic/plugin-simplemodal-login-no-generated-password-users-must-enter-their-own-password/)
 *  [jskdn](https://wordpress.org/support/users/jskdn/)
 * (@jskdn)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-simplemodal-login-no-generated-password-users-must-enter-their-own-password/#post-1777452)
 * Hey Eric, Love this plugin.. just want to finalise one thing with it (having 
   the user set their own passwords)
    I posted your solution into my functions file
   but there are no password fields in it? I tried entering my own ones but they
   were no good. Here is what I entered.. any ideas??? Thanks
 *     ```
       // SIMPLEMODAL REGISTRATION FORM
           add_filter('simplemodal_registration_form', 'mytheme_registration_form');
           function mytheme_registration_form($form) {
                   $options = get_option('simplemodal_login_options');
   
                   $output = sprintf('
                   <form name="registerform" id="registerform" action="http://localhost/mysite/wp-login.php?action=register" method="post">
                   <div class="title">My Website Login!</div>
                   <div class="simplemodal-login-fields">
                   <p>
                           <label>User Login<br />
                           <input type="text" name="user_login" class="user_login input" value="" size="20" tabindex="10" /></label>
                   </p>
                   <p>
                           <label>E-Mail Address<br />
                           <input type="text" name="user_email" class="user_email input" value="" size="25" tabindex="20" /></label>
                   </p>
               <p>
       		<label>Enter password<br />
       		<input type="password" name="user_pass" class="user_pass input" value="" size="20" tabindex="20" /></label>
       	</p>
       	<p>
       		<label>Re-enter password<br />
       		<input type="password" name="user_pass" class="user_pass input" value="" size="20" tabindex="30" /></label>
       	</p>',
                           __('http://localhost/mysite/wp-login.php?action=register', 'login_post'),
                           __('Register', 'simplemodal-login'),
                           __('Username', 'simplemodal-login'),
                           __('E-mail', 'simplemodal-login'),
                           __('Password', 'simplemodal-login'),
       					__('Retype Password', 'simplemodal-login')
                   );
   
                   ob_start();
                   do_action('register_form');
                   $output .= ob_get_clean();
   
                   $output .= sprintf('
                   <p class="reg_passmail">%s</p>
                   <p class="submit">
                           <input type="submit" name="wp-submit" value="%s" tabindex="100" />
                           <input type="button" class="simplemodal-close" value="%s" tabindex="101" />
                   </p>
                   <p class="nav">
                           <a class="simplemodal-login" href="%s">%s</a>',
                           __('A password will be e-mailed to you.', 'simplemodal-login'),
                           __('Register', 'simplemodal-login'),
                           __('Cancel', 'simplemodal-login'),
                           site_url('', 'login'),
                           __('Log in', 'simplemodal-login')
                   );
   
                   if ($options['reset']) {
                           $output .= sprintf(' | <a class="simplemodal-forgotpw" href="%s" title="%s">%s</a>',
                                   site_url('wp-login.php?action=lostpassword', 'login'),
                                   __('Password Lost and Found', 'simplemodal-login'),
                                   __('Lost your password?', 'simplemodal-login')
                           );
                   }
   
                   $output .= '
                   </p>
                   </div>
                   <div class="simplemodal-login-activity" style="display:none;"></div>
           </form>';
   
                   return $output;
           }
       ```
   

Viewing 1 replies (of 1 total)