Evaluating computed fileds in JS

I’m struggeling to evaluate a computed field with JS. On a Form I’ve computed (with a @DBLookup formula) a field LF_temp_geel.

if (document.forms[0].LF_temp_geel.value == “1” )

Whenever I want to evaluate this field onLoad I get errors. If I change the field properties to editable it works, but I don’t want a editable field for cosmetic reasons, even if I can masquerade the editability of that field.

thanks

Subject: A stylish way

On the HTML tab of EDITABLE LF_temp_geel, enter “display:none” without quotes in the Style field.

Subject: evaluating computed fileds in JS

Hide the field, generate HTML for all fields, and use computed text to display the result in the UI. That way you can JS access to your hearts content.