Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Avoid focus on form in modular page

Started by Muut Archive 10 years ago · 4 replies · 347 views
10 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.

10 years ago

Maybe a form field has 'autofocus' turned on?

10 years ago

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

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

Many thanks for the information ♪

10 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 Deleted User, 9 years ago
0 1352 9 years ago
Archive · by Muut Archive, 9 years ago
2 935 9 years ago
Archive · by Muut Archive, 9 years ago
2 4064 9 years ago
Archive · by Muut Archive, 9 years ago
1 2950 9 years ago
Archive · by Muut Archive, 9 years ago
3 1119 9 years ago