I have 3 checkboxes:
<label><input type="checkbox">100%</label>
<label><input type="checkbox">50%</label>
<label><input type="checkbox">25%</label>
and one textbox1 that have fix value
<?php
$sampleValue= "200.35"
?>
<input type="text" class="form-control" id="sampleOfsample" readonly="readonly" value="<?php echo $sampleValue ?>" >
If the checkbox check one it will get the % the value of $sampleValue
and it will echo the amount at the same textbox.
How can I achieve this?
Thanks...