PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Custom fields: 2 connected selects taking datas from db

s2Member Plugin. A Membership plugin for WordPress®.

Custom fields: 2 connected selects taking datas from db

Postby nemoprincess » January 16th, 2012, 12:09 pm

Hello there, I need to know town and state of my users, so I have to selects.

First of all I would like to take my datas from database but most of all I would like to avoid that users can select a town that it' s not in the right choosen state.

How can achieve this?

Thanks a lot
User avatar
nemoprincess
Registered User
Registered User
 
Posts: 24
Joined: October 5, 2011
Location: London, UK

Re: Custom fields: 2 connected selects taking datas from db

Postby Raam Dev » January 18th, 2012, 10:30 pm

Hello,

Unfortunately Custom Fields do not work dynamically between them, so you won't be able to achieve that type of coordination between select boxes.

For the custom fields, you can find them under the wp_usermeta table. Do a search for meta_key's starting with wp_s2member and then look for the field you need.
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 4 guests

cron