In d7 core profile, i create 2 fields: a "interested in whitepapers" checkbox, and an "address" textfield. I set the whitepapers checkbox as the dependent and the address textfield as a dependee, and configure address to become a required field IF the whitepaper is checked.

This rule is never enforced.

In the edit user profile page of a registered user, it is possible to save the form with "whitepaper" checked and the "address" field empty. It also doesn't work on the registration page, but that is not as important for now.

Comments

pthanos’s picture

Issue tags: -%profile +profile
pthanos’s picture

No replies? Is this really something others are seeing or is it just me. I simply failed to get the value I needed from conditional fields, can somebody give a hand?

Stephen Ollman’s picture

I am also getting this issue and am using the latest version.

Would be nice to have it fixed as its a big feature of this module.

Tops marks for the work done so far.

arosboro’s picture

I spent a few hours and created a patch in #1561272: Conditionally required fields are not required #8

koppie’s picture

Status: Active » Closed (duplicate)

I'm marking this task as a duplicate of #1561272: Conditionally required fields are not required even though this task is older, because that one has a patch posted (thanks @arosboro!).