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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Archive

Disable form

Started by Muut Archive 10 years ago · 0 replies · 357 views
10 years ago

Is there any way to programmatically disable a form, or parts thereof (preferably the submit button)? Tried to embed code as under the process part of form.md, i.e. for a form element:

disabled: {% code-goes-here %}

but it does not seem to parse. Any suggestions?

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1318 9 years ago
Archive · by Muut Archive, 9 years ago
2 915 9 years ago
Archive · by Muut Archive, 9 years ago
2 4024 9 years ago
Archive · by Muut Archive, 9 years ago
1 2900 9 years ago
Archive · by Muut Archive, 9 years ago
3 1082 9 years ago