Skip to:
Content
Pages
Categories
Search
Top
Bottom

Different forms or different fields for different membership types

  • @eazulay

    Participant

    I want to use s2Member with BuddyPress and have different membership types based on eligibility with all membership types allowing the same access level.
    Can the sign-up form display different fields for the membership type selected, and validate certain fields depending on selection or entry in other fields?
    For example, I need the “family” membership to allow entry of family member names. I need “senior” membership to validate whether the age is 65 or more. I need to disable several fields that do not apply when “corporate” membership is selected and display other fields, such as Company Name.
    Is there another plug-in that can manipulate the BuddyPress subscription form in such a way? Or can I change some PHP files to support this?
    How would you approach such a requirement?

Viewing 2 replies - 1 through 2 (of 2 total)
  • @rogercoathup

    Participant

    With custom coding you can cook up any sort of registration form you’d like.

    register.php is the main PHP file you’d need to look at – it has the registration form in it. Hook your custom fields in there.
    Add some jQuery to control the visibility of fields based on your user’s selection of member type.

    You’ll probably also need to be hooking into the form submission actions, to ensure your custom fields are saved correctly.

    It can be done, but it’ll require fairly good web development experience.

    @infocoolsms

    Participant

    Hi @Eyal Azulay
    It seems you want some conditional fields, this plugin will help may be,
    http://wpbpshop.com/buddypress-user-account-type-pro

    see how it works
    http://live.wpbpshop.com/register/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Different forms or different fields for different membership types’ is closed to new replies.
Skip to toolbar