How insert number of line into a field as default

Hi all,

I have a form and I would like to insert by default the line number (calculated by SC) into a field of form.
Do you how to do it ?
Thanks

In the onload you can assign calculated values to your form fields. In the onload you get something like:

{mylinenumer}= … some calculation …

Hi Aducom,
thanks,
do you know if is there a SC system variable to use instead of insert a calculation ?
Is it something like sc_ … ?

[QUOTE=giovannino;18113]Hi Aducom,
thanks,
do you know if is there a SC system variable to use instead of insert a calculation ?
Is it something like sc_ … ?[/QUOTE]

You could use autonumbering. It’s on the field edit tab. But the number is generated when you store the data so it’s not possible to show that on your screen. (Wouldn’t be wise anyway 'cause if you have more users wanting the same thing…)