how to get Cb user details show as text field valu

beadsboy 28 Jul, 2007
Hello,

I want to call user details like address, etc.. from Community Builder ... into the form text field .. so that users dont have to type it all again.

How do i do it ?

i tried as below but it is not working.


<?php global $cb; ?>

<input name="birthcity" type="text" class="formfield" id="birthcity" value="<?php echo $cb->cb_bicity; ?>" size="30">



Thankyou,

Devang
GreyHead 28 Jul, 2007
Hi Devang,

I'd try exactly what you have shown here. Is it possible that you need to initialise $cb before you can use it?

I can have a look later - but probably not today as I have to go out shortly.

Bob

PS we have a little project in development to look at ways of integrating info from Contacts, CB, extended user data, etc. into ChronoForms. It seems to be a frequent request. I have the basic framework in place for Contacts but it's going to be a while before it's good enough to release.
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger