- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
You can to this by referencing the index of [Asubform], assuming that the textfield is inside [Asubform], like this:
Using Formcalc in the "layout:ready" event on a textfield with a caption:
$.caption.value.#text = Concat($.parent.index + 1, ". ")
Using Formcalc in the "layout:ready" event on a textfield with no caption:
$.rawValue = Concat($.parent.index +1, ". ")
Using Javascript in the "layout:ready" event on a textfield with a caption:
this.caption.value.resolveNode("#text").value = this.parent.index +1 + ". ";
Using Javascript in the "layout:ready" event on a textfield with no caption:
this.rawValue = this.parent.index +1 + ". ";