How to define button that is used to submit login form?
I have a site with a login where 1Password4 correctly fills in the username and password, but then doesn't press the button. On this particular site its not a proper button, its a link that calls submit via javascript.
I'm sure there used to be a way to define which element triggered the submit (in an older version of 1P), but I can't find it.
Can anyone help?
thanks
Andy
Comments
-
Hi @spland66
What happens if you save a new Login like this:
- Edit the login that you currently have for this website by appending an "Old" to the title - just so you can tell them apart.
- Visit the site and fill in the fields you want filled. Do NOT click the login button.
- Click the 1Password extension, and unlock it if necessary.
- Click the gear icon (or vault icon if multiple vaults are enabled) in the upper right corner.
- Select Save new login.
- Give the entry a unique and identifiable title.
- Click Save.
- Revisit the site and see if 1Password fills in the site correctly.
If that doesn't work, could you let us know the site's address so we can test it?
0 -
Thanks Megan. I already tried that and it did not work.
the site is:
https://www.keepingyouposted.com.au/
however its not a public site, you will not be able to create an account. You may be able to duplicate the code locally to reproduce the issue.
There are some issues with some of the site's HTML that I'm aware of, but I'm pretty sure there's no issue with the HTML on the front page.
0 -
Thanks for that URL, @spland66. I'm unable to get autosubmit working with that page, too.
Can you try creating a new Login item after entering data in Email Address and Password fields on this page, then check if autofill/autosubmit works okay with it there?
https://keepingyouposted.com.au/member-login.asp
My testing of that was successfully and hopefully can be a workaround for you.
I'll file a report for the autosubmit problem on the main page and we'll see if we can get it working there, too.
0 -
Hi @sjk
Thanks for your reply. No the login on that page does not work for me. I assumed it didn't work because on that page there are two login forms, the one in the main panel, and the one in the header. Neither username element has a proper DOM id, and they both have the same name. In my case 1Password always fills in the header form, but then doesn't submit it. As it does on the front page. I purposefully did not supply that page in this support request because of that reason. I was about to contact the site's owner and advise them on how to fix their page, when I realised that the front page should work.
Anyway, no dramas. I've thought of another workaround which I'll test shortly. I'll create my own page on a site I control, and have a form pointing to the action on the keepingyouposted site. Easy!
Long term though, would be curious to know if you figure out how to make the real site work
0 -
Hi @spland66,
I'm sorry you couldn't get 1Password working with that alternate page. It should fill the correct fields and autosubmit there with the 4.2 extension, which is currently in beta and expected to be released soon. If you'd like to give that beta a try, open the 1Password Extension page in your browser, then select Enable betas before clicking the big green
Install
button. And make sure it's the only extension enabled on the chrome://extensions page. Then restart the browser. Reverting to the stable 4.1 release is relatively easy by reinstalling/reenabling it and removing/disabling the beta (depending on the browser). :)Or maybe you're prefer using your workaround for now.
Still, like you say, 1Password should be able to successfully fill and submit on the front page. Thanks for contacting the site owner about fixing that page, which is really where the trouble is, but we'll see what we can do And this looks wrong in Safari, Chrome, and Firefox:
Cheers!
0