Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Disable form

Started by Muut Archive 10 years ago · 0 replies · 472 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 2292 9 years ago
Archive · by Muut Archive, 9 years ago
2 1507 9 years ago
Archive · by Muut Archive, 9 years ago
2 4759 9 years ago
Archive · by Muut Archive, 9 years ago
1 3574 9 years ago
Archive · by Muut Archive, 9 years ago
3 1631 9 years ago