try this one
add into oc-include/osclass/frm/Userformclass.php
static public function human_check_text($user = null) {
parent::generic_input_text('humancheck',$value='Please remove all of this text',$maxlength='32') ;
}
add into oc-include/osclass/UserAction.php into function add {
if( Params::getParam('humancheck', false, false) !== '') {
return 10 ;
}
if u have this 10 case add another number that do not exist yet
add into root folder register.php into switch ($succes) cases
case 10: osc_add_flash_warning_message( _m('Human check must be empty')) ;
$this->doView('user-register.php') ;
break;
and finaly into theme folder /user-register.php
<div class="row ui-row-text">
<label for="humancheck"><?php _e('Human check', 'modern') ; ?><em style="color:red"> *</em></label>
<?php UserForm::human_check_text() ; ?>
</div>
this is php style:)
u can add some condions un userformclass into corespondent javascript that u are using
aka js_validation or js_validation_old
some rules and some mesages....
humancheck: {
maxlength: 0
}
into mesages
humancheck: {
maxlength: "<?php _e("Human check must be empty"); ?>."
}....
.. if somebody could test and improve...
regards
Lucky