This is a little experiment using vugu. For now, it just changes a field's label to its contents when you hit submit.
In part 2, there will be some more practical validation work.
<div class="vg-for-example"> | |
<p vg-for='i := 1; i <= 10; i++' vg-html='strconv.Itoa(i) + ". This is item " + strconv.Itoa(i)'></p> | |
</div> | |
<style> | |
.vg-for-example { font-family: Verdana, Geneva, sans-serif } | |
</style> | |
<script type="application/x-go"> | |
import "strconv" |