{jr_form_validation}
The {jr_form_validation} Template Function is used to create an anti-CSRF form token for posting to a Jamroom form.
Parameters
Name |
Type |
Required |
Default |
Description |
assign |
string |
no |
n/a |
By default the {jr_form_validation} function returns a 32 bit Validation Key - if you would prefer to "store" this key into a Template Variable, you can do so with the "assign" parameter. |
Examples
using the {jr_form_validation} function in a Template:
<form method="post" action="script.php?mode=test&jr_html_form_token={jr_form_validation}">
...
|
|