You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If CSRF filter is turned on `form_open()` will generate CSRF field at the beginning of the form. You can specify ID of this field by passing csrf_id as one of the ``$attribute`` array:
97
+
If CSRF filter is turned on ``form_open()`` will generate CSRF field at the beginning of the form. You can specify ID of this field by passing csrf_id as one of the ``$attribute`` array:
98
98
99
99
.. literalinclude:: form_helper/007.php
100
100
@@ -175,6 +175,10 @@ The following functions are available:
175
175
176
176
.. literalinclude:: form_helper/014.php
177
177
178
+
If you want boolean attributes, pass the boolean value (``true``/``false``). In this case the boolean value does not matter:
179
+
180
+
.. literalinclude:: form_helper/035.php
181
+
178
182
If you would like your form to contain some additional data, like
179
183
JavaScript, you can pass it as a string in the third parameter:
180
184
@@ -301,7 +305,7 @@ The following functions are available:
301
305
:returns: An HTML fieldset closing tag
302
306
:rtype: string
303
307
304
-
Produces a closing </fieldset> tag. The only advantage to using this
308
+
Produces a closing ``</fieldset>`` tag. The only advantage to using this
305
309
function is it permits you to pass data to it which will be added below
306
310
the tag. For example
307
311
@@ -425,7 +429,7 @@ The following functions are available:
425
429
:returns: An HTML form closing tag
426
430
:rtype: string
427
431
428
-
Produces a closing </form> tag. The only advantage to using this
432
+
Produces a closing ``</form>`` tag. The only advantage to using this
429
433
function is it permits you to pass data to it which will be added below
0 commit comments