I’m trying to determine why a field on a form that’s displayed on the web is not displaying its expected value. Here’s the scenario:
There are two text fields on a form - FieldA and FieldB. Both are Computed for Display. The formula for FieldA is ‘FieldA’. The formula for FieldB is as follows:
@If( FieldA != “”; @Return(@True); @False);
If FieldA is assigned a non-null value through a webQueryOpen agent, FieldB displays ‘0’ (False).
FieldB is below and to the right of FieldA and should therefore be able to evaluate FieldA. I’ve tried various scenarios, including making both fields Computed and setting their properties to ‘Compute after validation’, but FieldB always displays ‘0’ (False).
I’d appreciate any ideas on why FieldB is not displaying ‘1’ (True) when FieldA is assigned a non-null value through a webQueryOpen agent.
Subject: Field Does Not Display Expected Value on Web
FieldA should not be computed for display if it’s formula is a simple self-reference. It should just be ComputedWhenComposed. Since you’re just pushing values into that field, it needs to perform no computation.
Not sure that this solves your problem, but it’s something that you’ll want to do regardless.
Subject: Field Does Not Display Expected Value on Web
FieldA should not be computed for display if it’s formula is a simple self-reference. It should just be ComputedWhenComposed. Since you’re just pushing values into that field, it needs to perform no computation.
Not sure that this solves your problem, but it’s something that you’ll want to do regardless.
Subject: Field Does Not Display Expected Value on Web
It’s been a while since I did something similar, but I believe fields are computed before WebQueryOpen runs. To solve this, make FieldB editable (or computed to itself) and set FieldB with the WebQueryOpen agent.
Subject: Field Does Not Display Expected Value on Web
It’s been a while since I did something similar, but I believe fields are computed before WebQueryOpen runs. To solve this, make FieldB editable (or computed to itself) and set FieldB with the WebQueryOpen agent.