- Posts: 4
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
<?xml version="1.0" encoding="UTF-8"?> <config> <!-- These metadata will be displayed in the template configuration page. They are not used for now. --> <metadata> <name>password</name> <creationDate>01/05/2018</creationDate> <author>Tony Partner</author> <license>GNU General Public License version 2 or later</license> <version>1.0</version> <apiVersion>1</apiVersion> <description>Password input (masked characters)</description> </metadata> <!-- CSS/JS files to load. Any files here will be loaded via the asset manager (when in config.php debug = 0) --> <files> <css> </css> <js> </js> </files> <custom_attributes> </custom_attributes> <!-- Datas about how LimeSurvey should load the core js/css of the question --> <engine> <load_core_css>true</load_core_css> <load_core_js>true</load_core_js> <show_as_template>true</show_as_template> <show_as_question_type>true</show_as_question_type> </engine> </config>
{# /** * Shortfreetext, input text style, item Html * * $extraclass * $name $ia[1] * $prefix * $suffix * $kpclass * $tiwidth * $dispVal * $maxlength * $checkconditionFunction **** Additional attributes: * @var question_template_attribute.add_platform_info */ #} {% if withColumn %} <div class='{{coreClass}} row'> <div class="{{extraclass}}"> {% else %} <div class='{{coreClass}} {{extraclass}}'> {% endif %} <!-- Input --> <input class="form-control {{kpclass}} password-input" type="password" name="{{name}}" id="answer{{name}}" value="{{dispVal}}" {% if inputsize is not empty %} size="{{inputsize}}" {% endif %} {% if maxlength is not empty %} maxlength='{{maxlength}}' {% endif %} aria-labelledby="ls-question-text-{{basename}}" /> {% if withColumn %} </div> </div> {% else %} </div> {% endif %}