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

Disable form

Started by Muut Archive 10 years ago · 0 replies · 422 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 1802 9 years ago
Archive · by Muut Archive, 9 years ago
2 1211 9 years ago
Archive · by Muut Archive, 9 years ago
2 4388 9 years ago
Archive · by Muut Archive, 9 years ago
1 3268 9 years ago
Archive · by Muut Archive, 9 years ago
3 1377 9 years ago