|
Post by CatCreature on Jul 4, 2020 1:51:20 GMT -5
So, this has been irritating me for a bit now. On my site, I have a form on some pages that people can use to submit things like breeding or hexing requests to me. Now, this didn't always happen (which confuses me, as nothing changed on my end) but suddenly, for a while now, any page with the form on it makes the page jump to the bottom, where the form is located.
If you're reading something near the top, it's so annoying to have it bounce you to the bottom and you have to scroll back up and try to find what you were looking at. (Such as my long, stupid hex archive xP)
As it only happens on pages the forms are on, I assume there's something in that code that may be doing it. I know very basic HTML, and I thought I knew of a few codes that would cause that. Yet I didn't see any of them in the form's coding.
Would anyone be willing to take a look at the coding and see if you can figure out what might be doing it? I don't really want to offer up the code for it publicly here, so I'd rather send it to someone over PM. If you think you can help, could you let me know? xD Or if you have another idea of what's going on, or another site's form I could switch to if this coding can't be altered, that would be great too!
|
|
|
Post by stancymckatt on Jul 4, 2020 8:16:39 GMT -5
It's definitely in the forms code. When I allowed javascript to work on your website (I used NoScript 11.0.32, in Firefox 77.0.1) it kicked me to the form.
The problem is inside of the forms iframe as far as I can tell.
According to firefox line 99 withFormSettings({"allowPreviewMode":false,"autoFocusOnFirstInputField":true,"autoFocusParentTop":false,"autoSubmit":false,"approval":false,"publishSetting
"autoFocusOnFirstInputField":true" being my best guess at the problem.
That's something you'd have to change when you generated the form at 123formbuilder as the code is is on their server... If they let you change it.
Have you looked at where you made it and see if there's an option there to adjust the focus? Maybe a checkbox?
|
|
|
Post by CatCreature on Jul 4, 2020 17:44:00 GMT -5
Oooh thank you!! That fixed it! That exact option was in the Advanced options under my forms, and you were right, all I had to do was uncheck a box! Awesome! I love easy fixes!! xDD
|
|
|
Post by stancymckatt on Jul 5, 2020 8:10:20 GMT -5
Oooh thank you!! That fixed it! That exact option was in the Advanced options under my forms, and you were right, all I had to do was uncheck a box! Awesome! I love easy fixes!! xDD
Yay! I do too! Glad I could help :-)
|
|