///////// I've changed my function a little bit and it worked (looks like) ////////
if somevalue = 'TRUE' then
begin
// FormItem.Item(j).enabled := true;
FormItem.Item(j).checked := true;
end
else FormItem.Item(j).Value := 'new value';
It looks like when you set a value for CHECKBOX and then mark it as checked, the form gets something incorrect. When I change only status checked, it works. (no idea why setting parameter value is harmful).
ciuly, There are some scripts, but as long as I can change the status of checkbox to checked (even on disabled one), and as log as the form submits everything as checked, I don't mind :-)
Main Topics
Browse All Topics





by: ciulyPosted on 2008-03-20 at 03:58:02ID: 21169864
yes you can.
what would be interesting to see is if there is some script (javascript?) present that is executed at submit and which might temper with that checkbox.
is there? if so, does it?