I have a Profile2 type with a check box labelled "Premium Access". When the option is checked, more fields are displayed and the user is asked to provide more information. This is achieved through the Manage Dependencies tab of my custom profile.

Data entered in dependent fields is NOT saved to the database. All works well when there are no dependencies.

Can anyone help?

CommentFileSizeAuthor
#1 dependencies.png69.28 KBbisonbleu
#1 profile.png37.35 KBbisonbleu
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bisonbleu’s picture

Title: Content for fields with dependencies is not saved » Content for dependent fields is NOT saved
FileSize
37.35 KB
69.28 KB

Change of title + screen captures.

Profile

Dependencies

joachim’s picture

> This is achieved through the Manage Dependencies tab of my custom profile.

Which module provides that? Problems with saving those are probably to do with that module.

bisonbleu’s picture

Thanks for the speedy reply.

The Manage Dependencies tab comes from the Conditional Fields 7.x-3.x-dev module.

bisonbleu’s picture

Project: Profile 2 » Conditional Fields
Version: 7.x-1.x-dev » 7.x-3.x-dev

Transferring issue from Profile2 to Conditional Fields.

bisonbleu’s picture

Issue summary: View changes

Rewritten from scratch

bisonbleu’s picture

Issue summary: View changes

Simple edit

bisonbleu’s picture

Ok, I found a fix in a similar/related issue entitled Conditional fields not saving. See #32.

bisonbleu’s picture

Priority: Major » Normal

Setting priority to normal.

bisonbleu’s picture

Issue summary: View changes

small edit

tzt20’s picture

Issue summary: View changes

Unfortunately, conditional_fields 7.x-3.x-dev still warns not to use on production sites --https://www.drupal.org/node/1137614

I chose to go with #32 from here as well: https://drupal.org/node/1542706#comment-6773474

Though, this issue is really a duplicate of this: https://drupal.org/node/1542706