Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Avoid focus on form in modular page

Started by Muut Archive 11 years ago · 4 replies · 481 views
11 years ago

Hello ♪

I have a modular page with a form (working great).

When calling that page, expecially on small screens, focus goes straight to form > the upper part is skipped.

Is there a way to avoid focus?

[I have looked in various places to see where this made but I can't find it out so far ...]

☆ thanks in advance for help.

11 years ago

Maybe a form field has 'autofocus' turned on?

11 years ago

Ok @Flavio ☆ sorry for stupid question: I found it...

[I didn't know 'autofocus was existing !]

Many thanks for the information ♪

11 years ago

For others with the same difficulty:

'autofocus' is a parameter in the .md document of the form...

I turned it to OFF and that was it.

Thanks again

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 673 1 week ago
Archive · by Deleted User, 9 years ago
0 3043 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5337 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago