Skip to content

Instantly share code, notes, and snippets.

@johnnykage
Last active April 13, 2018 13:35
Show Gist options
  • Save johnnykage/4691531 to your computer and use it in GitHub Desktop.
Save johnnykage/4691531 to your computer and use it in GitHub Desktop.
{include file="modules/DynamicFields/templates/Fields/Forms/coreTop.tpl"}
<tr>
<td class='mbLBL'>Start index:</td>
<td>
<input id ="startindex" type="text" name="startindex"
{if !$vardef.startindex && !$vardef.startindex}
value="0"
{else}
value="{$vardef.startindex}"
{/if}>
<script>addToValidateMoreThan('popup_form', 'startindex', 'int', false,'{sugar_translate module="DynamicFields" label="Start index"}', 0);</script>
</td>
</tr>
<tr>
<td class='mbLBL'>Interval:</td>
<td>
<input id ="interval" type="text" name="interval"
{if !$vardef.interval && !$vardef.interval}
value="1"
{else}
value="{$vardef.interval}"
{/if}>
<script>addToValidateMoreThan('popup_form', 'interval', 'int', false,'{sugar_translate module="DynamicFields" label="Interval"}', 1);</script>
</td>
</tr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment