Skip to content

Instantly share code, notes, and snippets.

@WilCF
Created November 10, 2015 22:51
Show Gist options
  • Save WilCF/dd01b6e4eb22e9bfcce2 to your computer and use it in GitHub Desktop.
Save WilCF/dd01b6e4eb22e9bfcce2 to your computer and use it in GitHub Desktop.
772213.cml
<div class="row-fluid">
<p><a target="_blank" href="{{url}}" id="" class="btn btn-primary">Click here to view the Property Tax Bill</a></p>
</div>
<div class="row-fluid">
<div class="span6">
<cml:radios label="Can you find the Discount Payment Amount?" name="hasdiscountamountdue" validates="required" aggregation="agg" gold="true">
<cml:radio label="Yes, the Discount Payment Amount is provided" value="Yes, amount"></cml:radio>
<cml:radio label="Yes, there is a Discount Payment Percentage provided" value="Yes, percentage"></cml:radio>
<cml:radio label="No, there is not a Discount Payment Amount or Percentage provided" value="No"></cml:radio>
</cml:radios>
<cml:group only-if="hasdiscountamountdue:[0]" name="">
<p><i>Do not enter the amount of discount given, but rather enter the amount due after the discount has been calculated.</i></p>
</cml:group>
<cml:group only-if="hasdiscountamountdue:[1]" name="">
<p><i>Only select this option if you are sure that the Discount Payment <strong>Amount</strong> is NOT included.</i></p>
</cml:group>
<cml:group only-if="hasdiscountamountdue:[2]" name="">
<p><i>Please continue to the next unit!</i></p>
</cml:group>
</div>
<div class="span6">
<cml:group only-if="hasdiscountamountdue:[0]" name="">
<cml:text label="Enter the Discount Payment Amount" instructions="Enter as dollars and cents. e.g.: 100.00" default="Enter Discount Payment Amount Due here." name="discountamountdue" validates="required numeric regex" data-validates-regex="^[+]?[0-9]{1,3}(?:,?[0-9]{3})*\.[0-9]{2}$" aggregation="agg" gold="true"></cml:text>
</cml:group>
<cml:group only-if="hasdiscountamountdue:[1]" name="">
<cml:text label="Enter the Discount Payment Percentage" instructions="Enter with two decimal places. e.g.: 2.00" default="Enter Discount Percentage here. Do NOT include '%'." name="discountpercentage" validates="required numeric regex" data-validates-regex="^[+]?[0-9]{1,3}(?:,?[0-9]{3})*\.[0-9]{2}$" aggregation="agg" gold="true"></cml:text>
</cml:group>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment