# weforms/1.6.1/assets/components/dynamic-field/template.php

weForms – Easy Drag &amp; Drop Contact Form Builder For WordPress, version 1.6.1. 30 lines.

- Page: https://pluginprobe.com/plugins/weforms/1.6.1/code/assets/components/dynamic-field/template.php
- Raw: https://pluginprobe.com/plugins/weforms/1.6.1/raw/assets/components/dynamic-field/template.php
- Modified: 2020-11-11T12:52:22+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/weforms/1.6.1/code/assets/components/dynamic-field/template.php#L10-L20`.

```php
<div>

    <div class="panel-field-opt panel-field-opt-text">
        <label>
            <?php _e( 'Dynamic value population', 'weforms' ); ?>
            <help-text text="<?php _e( 'Field value or options can be populated dynamically through filter hook or query string', 'weforms' ); ?>"></help-text>
        </label>

        <ul>
            <li>
                <label>
                    <input type="checkbox" value="yes" v-model="dynamic.status"> <?php _e( 'Allow field to be populated dynamically', 'weforms' ); ?>
                </label>
            </li>
        </ul>
    </div>


	<template v-if="dynamic.status">

		<div class="panel-field-opt panel-field-opt-text"><label>
            <?php _e( 'Parameter Name', 'weforms' ); ?>
	        <help-text text="<?php _e( 'Enter a Parameter Name, using that the field value can be populated through filter hook or query string', 'weforms' ); ?>"></help-text>
	         <input type="text" v-model="dynamic.param_name">
	     	</label>
     	</div>
	</template>

</div>

```
