This topic has 8 replies, 2 voices, and was last updated 10 years by gm713.

  • Author
  • #26371
     gm713
    Participant

    Hi,

    I have currently implemented a make-shift “agree to Terms & Conditions” and “Privacy Policy” option on the registration form here: http://greencardez.net/register/

    There were 3 things I was hoping to accomplish:
    1) I would rather have simple text instead of the checkbox
    2) Is there a way to get rid of “This field can be seen by Everyone” copy?
    3) The Users>Profile field links do not allow me to execute the target=”_new” command, thus not allowing me to open T&C and Privacy Policy links in a new tab/down, but in the same window. How do I open the links in a new tab/window?

    Thanks!

    #26381
     Catalin
    Moderator

    Hello,

    1. I don’t understand… if you want to get rid of the checkbook users will not be able to agree…
    2. add this code in our style.css file from your child tteme:

    COPY CODE
    
    
    body.registration .field-visibility-settings-notoggle
    {
       display:none;
    }
    
    

    3. send me admin credentials to help you with this… reply as private for security reasons

    Thank you,
    Catalin

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #26423
     gm713
    Participant
    This reply has been set as private.
    #27275
     Catalin
    Moderator

    1. you could change the checkbox to a text field

    2. “This field can be seen by Everyone” cannot be seen in register page anymore

    3. take a look at this:

    http://wordpress.org/support/topic/target_blank-does-not-work-in-field-title

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #27821
     gm713
    Participant

    1. I don’t see a place to change this to a text field for some reason. Do you have a screenshot of the options?

    2. Confirmed. For my record, did you update anything or was it a matter of a cached page?

    3. I tried including the javascript as a HTML field on register page, but didn’t do anything. Where/How do you recommend adding it?

    #27952
     Catalin
    Moderator

    1. credentials not working anymore… please reset them to take another look
    2. it was a cache issue, I tested first the code on my test server and it was working
    3. you can use code like this in your functions.php file from your child theme:

    COPY CODE
    
    
    function open_new_tab()
    {
        ?>
        <script>jQuery(document).ready(function($){$('selector for the link you want to openn in new page').attr('target', '_blank');});</script>
        <?php
    }
    
    add_action( 'kleo_after_body','open_new_tab');
    
    

    Thank you,
    Catalin

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #27989
     gm713
    Participant

    Thanks!

    1. Done, credentials same as before.
    2. Got it, thanks!
    3. Added, but not firing a new tab/window.

    #28837
     Catalin
    Moderator

    1. also done.
    2. ok. glad to help.
    3. done. you should have added the selector in the code i provided.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #28985
     gm713
    Participant

    Thanks, Catalin. Appreciate the help.

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘Registration page – New Required Field’ is closed to new replies.

Log in with your credentials

Forgot your details?