- Posts: 4
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
<!-- Start of the main Form--> <form id="limesurvey" name="limesurvey" autocomplete="off" class="survey-form-container form" action="/index.php?r=survey/index&amp;sid=999999" method="post">
{# This file generates the opening form tag and the CRSF token for the main survey Form. eg: <form enctype="multipart/form-data" id="limesurvey" name="limesurvey" autocomplete="off" class="survey-form-container" action="index.php/289445" method="post"> <input type="hidden" value="393e1f3e91d6fb062b8c67d39771bb674de337ca" name="YII_CSRF_TOKEN"> It uses the Yii fuction CHtml::form @see: https://www.yiiframework.com/doc/api/1.1/CHtml#form-detail The hidden submit button is used for any submission (triggered via JS event). #} {# array of attributes of the form tag. To add a new attribute, just add an entry: 'attribute' : 'value', #} {% set htmlOptions = { 'id' : 'limesurvey', 'name' : 'limesurvey', 'autocomplete': 'off', 'class' : 'survey-form-container form', } %}