Okay, here is my scenario.
I have Drupal 6.1 installed and I am using the following modules
Webforms 6.x-2.0-beta3
Content Profile 6.x-1.0-beta1
CCK 6.x-1.x-dev
What i'm trying to achieve here, which I need help on, is to access any given field that i've created with CCK and Content Profile in my Webform components.
For example, users have to enter their height in their Content Profile upon registration, and then when they fill out a Webform I want to have a Hidden Component pull in that value.
What would the code be (using the Default Value texbox in the Webform Hidden Component) is this even possible?
Comments
Comment #1
quicksketchNo, it's currently not possible. Webform has support for profile.module, but not bio, nodeprofile, content profile, or any other node based profile system. Given the variety of modules accomplishing the same thing, you might see why. I'd be happy to apply patches if they're small enough to simply provide functionality for these modules.
Comment #2
quicksketchComment #3
merilainen commentedI see great potential in this.
I've been browsing through different choices to create a custom, multi-step profile creation during registration. At the moment it looks like that I have to build a custom module where I manually choose the fields for the user to fill -> not reusable and lot of work.
Content profile seems like the best choice to create custom user profiles using CCK, so if I could create a custom registration form with webforms using those CCK fields, that would be super!
Comment #4
quicksketchThis will not happen, this is not the intended use of Webform.