OK, I know there are several threads on getting CB content to prepopulate in a form. However, CF v3.0 seems to work a little differently than previous versions, in regard to the CB plugin. ...Or perhaps I'm just being dense.
Background:
1. I'm using CF V3.0 BETA R2.1, Joomla 1.5, and CB 1.2
2. I have a form. It works fine, but I'd like it to find a way to prepopulate data for users logged in.
3. All site registrations go through Community Builder
4. For my form, I've checked the CB plugin box for the form and unchecked all other plugins, saved the form, etc.
But now I'm stuck. So, I guess here's the dumb questions:
1. Do I need to add a php statement to the top of the form so that it pulls CB user data?
2. What should I put in the fields on the CB Registration page? (Currently, I have "{firstname}," for example in the "firstname Field:" box. Is that right?)
3. What's the php statement that goes in the value="" tags? (When I try just "{firstname}" as the value for the first name field, it prepopulates with literally "{firstname}"; I've also tried various PHP statements suggested in the forums, but no joy so far.)
Any suggestions? I should mention that I can get the fields to prepopulate from the Joomla user DB, so the general idea is working. But for this form, I'd like to be able to leverage the more granular info I've built into the CB registrations.
Hoping this is child's play to you...
Diorist
Background:
1. I'm using CF V3.0 BETA R2.1, Joomla 1.5, and CB 1.2
2. I have a form. It works fine, but I'd like it to find a way to prepopulate data for users logged in.
3. All site registrations go through Community Builder
4. For my form, I've checked the CB plugin box for the form and unchecked all other plugins, saved the form, etc.
But now I'm stuck. So, I guess here's the dumb questions:
1. Do I need to add a php statement to the top of the form so that it pulls CB user data?
2. What should I put in the fields on the CB Registration page? (Currently, I have "{firstname}," for example in the "firstname Field:" box. Is that right?)
3. What's the php statement that goes in the value="" tags? (When I try just "{firstname}" as the value for the first name field, it prepopulates with literally "{firstname}"; I've also tried various PHP statements suggested in the forums, but no joy so far.)
Any suggestions? I should mention that I can get the fields to prepopulate from the Joomla user DB, so the general idea is working. But for this form, I'd like to be able to leverage the more granular info I've built into the CB registrations.
Hoping this is child's play to you...
Diorist