WordPress.org

Support

Support » Plugins and Hacks » Register Plus Label field

Register Plus Label field

  • rosemckay
    Member

    @rosemckay

    Hello,
    I love the Register Plus plugin it’s almost exactly what I’m looking for. I have set up a registration form that has sections that have different directions. How can i tweak the programming to let me add a “label” field type that will just display the text without a text field or check box etc to go with it? Any guidance is most appreciated!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Can you do what you want if you enable the license agreement or privacy policy?

    rosemckay
    Member

    @rosemckay

    Not exactly. I’m using to associate certain information with a profile. So a group of the questions are “Rate Yourself” questions with “Please select the characteristic that represents you” type text as directions. Some of them are “Qualifications” etc. I want to label them accordingly. Sort of like this:

    Rate Yourself
    Please select the characteristic that represents you.
    Question One
    Radio Button _ Radio Button _ Radio Button _ Radio Button _
    Question Two
    Radio Button _ Radio Button _ Radio Button _ Radio Button _

    Qualifications
    Please select the credentials that you possess.
    Question One
    Radio Button _ Radio Button _ Radio Button _ Radio Button _
    Question Two
    Radio Button _ Radio Button _ Radio Button _ Radio Button _

    I’m wanting to put plain text into the form for those “section labels” and the directions under them.

    Won’t work without extensive modifications to the register-plus.php file.
    First of all you need to address your entry paragraphs, labels and input fields with specific IDs, so you can then use CSS to arrange things the way you want to.

    Look for foreach( $regplus_custom as $k=>$v){ and underneath you’ll find something like <p><label><?php echo $v['label'];?>:. Change that to class="<?php echo $id;?>" and you’ll have a <p> that you can address via the stylesheet.
    This way you can, for example, make certain labels wider and use display:none to hide the unnecessary input field.

    cforms II is a lot simple to use in that regard, but it won’t work for login 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Register Plus Label field’ is closed to new replies.