WordPress.org

Ready to get started?Download WordPress

Forums

Register Plus Label field (4 posts)

  1. rosemckay
    Member
    Posted 5 years ago #

    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!

  2. MichaelH
    Member
    Posted 5 years ago #

    Can you do what you want if you enable the license agreement or privacy policy?

  3. rosemckay
    Member
    Posted 5 years ago #

    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.

  4. mores
    Member
    Posted 5 years ago #

    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 :)

Topic Closed

This topic has been closed to new replies.

About this Topic