I added to form_passwrd.php, minlength="6" and required so that users are required to enter a password of at least 6 characters.
Here is the whole file:
<?php
$item_my = ModelBO::newInstance()->getItem($item_id);
?>
<link href="<?php echo osc_base_url(); ?>oc-content/plugins/backoffice_manager/css/form.css" rel="stylesheet" type="text/css" />
<div class="row">
<div id="bo_mgr_table">
<label for="bo_mgr_passwrd"><?php _e('Enter Password', 'backoffice_manager'); ?></label>
<input type="text" style="float:left;" name="bo_mgr_passwrd" id="bo_mgr_passwrd" value="<?php if($item_my['passwrd'] <> ''){echo $item_my['passwrd']; } else { echo Params::getParam('passwrd'); } ?>" size="20" minlength="6" maxlength="20" required />
<div class="bo_info"><?php _e('Used to edit this listing', 'backoffice_manager');?></div>
</div>
</div>
The following problem occurs: When I have the booking plugin activated, the message for correct password completion appears at the top, while when I disable booking, the message appears below the password box, which is probably the correct one.