Skip to Content
0
Former Member
Jun 07, 2011 at 07:42 AM

Naming convention for Input field

61 Views

hi gurus,

I am declaring input field as follows:

<htmlb:content design="design2003" >

<htmlb:page title="Category Desp" >

<htmlb:form id="x3mpdet">

<% Do 3 times. v_ctr1 = v_ctr1 + 1. %>

<td align="center" class="trbody">

<htmlb:inputField id="f_calcode<%= v_ctr1 %>" size= "8" value="<%= wa_MISCPARM-YCALC_CODE%>" maxlength="8"/>

</td>

<% enddo. %>

</htmlb:form>

</htmlb:page>

</htmlb:content>

In runtime the name of the input field will be "f_calcode1, f_calcode2, f_calcode3.....".

But I am trying to capture the value in that form with input name f_calcode1.

Not able to capture that value.

Can any body know how to get the value from that input field in that form?

Regards

Madan