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
Comment #1
pthanos commentedComment #2
pthanos commentedNo 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?
Comment #3
stephen ollmanI 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.
Comment #4
arosboro commentedI spent a few hours and created a patch in #1561272: Conditionally required fields are not required #8
Comment #5
koppie commentedI'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!).