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

Disable form

Started by Muut Archive 10 years ago · 0 replies · 416 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 1769 9 years ago
Archive · by Muut Archive, 9 years ago
2 1187 9 years ago
Archive · by Muut Archive, 9 years ago
2 4359 9 years ago
Archive · by Muut Archive, 9 years ago
1 3243 9 years ago
Archive · by Muut Archive, 9 years ago
3 1347 9 years ago