File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -295,6 +295,9 @@ object:
295
295
<?php echo $view['form']->get('name')->vars['label'] ?>
296
296
</label>
297
297
298
+ .. versionadded :: 2.4
299
+ The ``submitted `` variable was added in Symfony 2.4.
300
+
298
301
+-----------------+-----------------------------------------------------------------------------------------+
299
302
| Variable | Usage |
300
303
+=================+=========================================================================================+
@@ -310,6 +313,8 @@ object:
310
313
| | since this only returns "global" errors: some individual fields may have errors |
311
314
| | Instead, use the ``valid `` option |
312
315
+-----------------+-----------------------------------------------------------------------------------------+
316
+ | ``submitted `` | Returns ``true `` or ``false `` depending on whether the whole form is submitted |
317
+ +-----------------+-----------------------------------------------------------------------------------------+
313
318
| ``valid `` | Returns ``true `` or ``false `` depending on whether the whole form is valid |
314
319
+-----------------+-----------------------------------------------------------------------------------------+
315
320
| ``value `` | The value that will be used when rendering (commonly the ``value `` HTML attribute) |
You can’t perform that action at this time.
0 commit comments