Page 1 of 1

Need Help - Page not opening at the top

Posted: Thu Apr 10, 2025 6:33 pm
by bjlolmaugh
I need help on figuring out why the page doesn't open up to the top of the page. When you click on the link to the page, it brings you part way down.
I have looked at everything, but cannot figure out why this is happening. I have never had this happen before.

Here is a link to the page: https://www.paracordpetcollars.com/snapcollars.php

Also, here is the WWB project of that page: https://www.paracordpetcollars.com/snapcollars.zip

Could someone please take a look to see if you can figure out why this is doing this?

Thank you.

Re: Need Help - Page not opening at the top

Posted: Thu Apr 10, 2025 6:46 pm
by crispy68
My guess is because you have several elements in your form with 'autofocus' enabled. (ex: id=Select3, id=Select4, etc).

If objects have autofocus it will cause the page to jump to these on page load.

Re: Need Help - Page not opening at the top

Posted: Thu Apr 10, 2025 6:52 pm
by BaconFries
You have applied a "focus" to the following EditLabel1:focus whar this does will apply focus to the first element of the form on the page and open at that point when the page loads.
From the help:
Auto complete
Specifies whether the input field should have autocomplete enabled (if available in the browser) .

Auto Focus
Specifies whether the element should automatically get focus when the page loads.

Floating label
With floating labels, you can insert the label inside the input field, and make it float/animate when you click on the input field.
This option uses the 'Place Holder' text for the label.

Re: Need Help - Page not opening at the top

Posted: Thu Apr 10, 2025 6:56 pm
by bjlolmaugh
Yep, that was it. I have no idea how that got checked off. It's fixed now.
Thank you both so much.