Redirecting the Sign Up link on a login form.

Answered

Comments

4 comments

  • Avatar
    Nic

    Hi John,

    This would replace the signup link for all login pages:

     

    $(document).on('knack-view-render.any', function () {
      
      $('a.register').attr("href", "https://yourcustomURLhere")
    
    })

     

  • Avatar
    John Katez

    Nic, that's JUST what I was looking for. Thank you so much!

  • Avatar
    Trevor Harwood

    If you would like to replace the text or hide one or more of the buttons, this post goes over how do that: https://support.knack.com/hc/en-us/community/posts/222367287-Replace-the-Sign-Up-Text-in-Registration-Views?page=1#community_comment_115003271387 

  • Avatar
    Adam Pollock

    Hi, i'm not sure if this is what i am looking for. 

    We have a few pages in our app, and most are open to all user roles, but required to be logged in. 
    Often we find it easier to give out direct links for new users to click on, so they go straight to the page they need to goto. 

    The problem is, when they click on the link it asks them to login, which is fine, and gives the option to sign up, which is also fine - except it means we have to create a new signup form for every one of these pages, whereas we would prefer to be able to link back to a 'common' signup page as such, but then still take them back to the page form the link, if that makes sense? 

    Can we get around having to create a whole new signup form for EVERY page we create that requires a login? 

Please sign in to leave a comment.