Hi to all
Could someone, please, tell me where can I find documentation about different <cms:form> parameters?
I checked 'official' doc at
https://docs.couchcms.com/tags-reference/form.html
but can't see information about parameters like
- mode (create, edit... what else?)
- add_security_token (0,1)
In this 2019 post, @KK is telling that security tokens are automatically generated when using masterpages
then in other postfrom @KK I see this parameter added like add_security_token = '1'
Not sure to understand if it's still automatic or if we need to specify it?
<cms:form
masterpage = 'some-masterpage.php'
mode = 'edit'
enctype = 'multipart/form-data'
method = 'post'
anchor = '0'
add_security_token = '1'
id = 'k_admin_frm'
name = 'k_admin_frm'
>
Could someone, please, tell me where can I find documentation about different <cms:form> parameters?
I checked 'official' doc at
https://docs.couchcms.com/tags-reference/form.html
but can't see information about parameters like
- mode (create, edit... what else?)
- add_security_token (0,1)
In this 2019 post, @KK is telling that security tokens are automatically generated when using masterpages
then in other postfrom @KK I see this parameter added like add_security_token = '1'
Not sure to understand if it's still automatic or if we need to specify it?
<cms:form
masterpage = 'some-masterpage.php'
mode = 'edit'
enctype = 'multipart/form-data'
method = 'post'
anchor = '0'
add_security_token = '1'
id = 'k_admin_frm'
name = 'k_admin_frm'
>