WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Contact Form 7] Add username and password onsent (1 post)

  1. jayphilips
    Member
    Posted 1 year ago #

    I have a contact form that works great and when a user submit the form they are redirected to a login page. I'd like the login page to be auto populated and submitted with a specific user ID and password but I can't seem to get it to work no matter what I try.

    In the "Additional Settings" of the form I have this:
    on_sent_ok: "location = 'http://demo.teamqualitypro.com/teamqualitypro/';"

    The above code works to redirect them to the url but I want to pass the username and password

    I tried this:
    on_sent_ok: "location = 'http://username:password@demo.teamqualitypro.com/teamqualitypro/';"

    The page load but the username and password fields do not get loaded and submitted.

    Any ideas?

Topic Closed

This topic has been closed to new replies.

About this Topic