• mihodono

    (@mihodono)


    Hello, I have initially setup some custom fields for my registration form. I had this code below, and the field in the registration form can be seen perfectly well…

    code 1:
    $legalname = new PMProRH_Field("legal_name","text", array("label"=>"Company Legal Name", "profile"=>true, "required"=>false));

    …but after I added the “levels” parameter, it didn’t show up on the form anymore.

    code 2:
    $legalname = new PMProRH_Field("legal_name","text", array("label"=>"Company Legal Name", "profile"=>true, "required"=>false, "levels"=>1));

    The shortcode on the registration page I made:
    [pmpro_signup level="1" button="Join as Buyer"]

    I wanted the field to only be available in the profile fields if the user is a buyer (level 1), and at the same time can also only be seen in the registration page .

    Did I miss something?

    https://www.ads-software.com/plugins/pmpro-register-helper/

  • The topic ‘Register Levels’ is closed to new replies.