Skip to:
Content
Pages
Categories
Search
Top
Bottom

Change Label by value in dropdown

  • Profile photo of bcanr2d2
    bcanr2d2
    Participant

    @bcanr2d2

    I have a BuddyPress profile form that currently has fields being shared between different member types, so they can be forced to be mandatory.

    I would like field A (highlighted) to be able to change the labels/legends highlighted with B, so that once a user selects a value I can show the relevant text (which needs to change for each drop down value)

    I already have PHP code to control these labels AFTER the user has selected a member type, I just need to know what to before hand, before they save these values.

    The first field is field_6.

    The second is field_19 The third is field_505 The fourth is field_56

    I believe a javascript piece of code would make this work appropriately, but is not my strong suit programming language wise.

  • You must be logged in to reply to this topic.
Skip to toolbar