Quantcast
Channel: Topic Tag: contact-form | WordPress.org
Viewing all articles
Browse latest Browse all 6001

jayphilips on "[Plugin: Contact Form 7] Add username and password onsent"

$
0
0

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?


Viewing all articles
Browse latest Browse all 6001

Trending Articles