• Resolved Rajon Ahmed

    (@engrrajonahmed)


    Hi there,
    Is it possible to populate the username/email field value from the parameter?

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeff Farthing

    (@jfarthing84)

    For the login form? You’ll need to change the form field value like so:

    
    add_action( 'init', function () {
        if ( $ log = tml_get_form_field( 'login', 'log' ) ) {
            $log->set_value = tml_get_request_value( 'log' );
        }
    } );
    
    Thread Starter Rajon Ahmed

    (@engrrajonahmed)

    Yes for the login form.

    I am using Gravity Forms + Addons for Sign Up process. So after sign-up, I will redirect the user to the sign-in page and in the URL there will be a parameter with the username as the value. TML needs to get the value from the URL.

    Example: example.com/sign-in/?username=user

    ***I tried javascript but didn’t work.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘URL Parameter’ is closed to new replies.