Hello,

It looks as though conditional fields and profile2 are not playing well together. For all profile2 fields that have conditions imposed on their visibility (front end works great) they do not get saved to the database. Anyone observed this before. Just moved over to development versions of the modules but the problem persists.

Comments

Anonymous’s picture

Anyone been able to replicate the problem? If anyone is working on a fix please let me know as I am available for testing patches :)

Best, Paul

JohnnyW’s picture

Issue summary: View changes

Yup yup!!! I reported it just a few moments ago.

JohnnyW’s picture

I fixed this issue by cheating...

First, I made it a Requirement on registration form.

Next, I put in a Default value.

Next, CSS display: none for each id

spleshka’s picture

@Nonnie, that not a fix :) This is a css trick, but not really drupal-way.

JohnnyW’s picture

Crude, but effective ;) The Drupal way -- if you think I'm joking, you should browse all the hacks, codes, scripts, or otherwise... Drupal isn't the most forgiving for getting things done, especially, when you include libraries and modules.

BUT YES! IT works LOL

GemQueen’s picture

For me, the problem only happens if the condition specifies the field should be INVISIBLE if certain conditions are met, then it isn't saved. VISIBLE works.