Forum OpenACS Q&A: Re: handling an ad_form values generated dynamically

actually, that ad_form doesn't work, the variable ${grade_level_id} seems to not be available for it inside the db_foreach?

so I substituted with:
template::element create my_query fte${grade_level_id} \
        -datatype naturalnum -widget text -label $description -html {size 5} -value $fte

=)