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:firstname.lastname@example.org/teamqualitypro/';"
The page load but the username and password fields do not get loaded and submitted.
- The topic ‘[Plugin: Contact Form 7] Add username and password onsent’ is closed to new replies.