Not certain if this is a "feature" or "as designed" - or just a problem. It seems that it is standard on most sites to display some sort of error message when a person fails to actually check the Terms of Use checkbox. I have tried a couple of different versions of the module - but get the same behavior. True, it doesn't allow a user to proceed without checking the checkbox - on the other hand, it also gives them no idea where their error is - or how to fix it. Without some soft of feedback, we leave users frustrated and uncertain of how to proceed - they will *probably* figure it out - if they're still around. This is certainly not the best scenario...

Is my installation faulty? Or is this behavior by design?

Thanks,

Chana

Comments

cbear42’s picture

Is this module unmaintained? Dead? Anyone? OK - off to find a replacement...

Soldierka’s picture

I've got the same issue. Could anyone help? Thanks in advance.

kars-t’s picture

Status: Active » Needs work

Hi,

a drupal_set_message() should be added than. Maybe optional.

kars-t’s picture

Priority: Major » Normal
Status: Needs work » Postponed (maintainer needs more info)

Okay I did look into the code but if you fail to check the checkbox there should be a message. This is implemented through this code:

/**
 * Validation callback; verify that checkbox is checked.
 */
function _terms_of_use_validate_checkbox($form, &$form_state) {
  $value = $form_state['values']['terms_of_use'];
  if ($value == 0) {
    form_set_error('terms_of_use', t('You must agree with the !terms to get an account.', array('!terms' => filter_xss(tou_i18nstrings('fieldset_name', variable_get('terms_of_use_fieldset_name', t('Terms of Use')))))));
  }
}

Are you using checkbox validate? But even that should give you a message. Maybe your theme is hinding messages? Or some other module or setting.

kars-t’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)