Hi All,
I have a tabular form created manually where I use apex_item.checkbox2() function to create a checkbox.
In my page process how can I work out if this item is checked or not? For example, my checkbox corresponds to f03 (#3 from left, after a textfield and a date picker which corresponds to f01 & f02 respectively), and I have seen some people use this way (not sure what they are doing):
for i in 1..apex_application.g_f01.count loop
if apex_application.g_f03( apex_application.g_f01(i) ) == 'Y' then
-- do something
end if;
end loop;
I look in the page source in firebug and see there is a checkbox with name="f01" with the value I set in the param of apex_item.checkbox2(1,l.line_no) but there is also a f01 in the same < td > tag like this:
<input name="fo1" type="checkbox" UNCHECKED="" VALUE="2" />
<input name="f03" id="f03_002" type="hidden" value="124482038" />
My Apex version is 4.1.1 (cloudy theme) on IE7.