I have created a document whith some drop down lists where if yes (value two) is selected the table being referenced is set to an active/visible presence, else the table is inactive. However, when I try to replicate it on a new form, the exact same way, it semes to be ineffectual.
I have
<event activity="mouseExit">
<script contentType="application/x-javascript">if (Type.rawValue == 2) {
WorkOrders.presence = "visible";
}
else {
WorkOrders.presence = "inactive";
}
</script>
</event>
and yet the table "WorkOrders" does not switch presences. I am not sure what I am missing, since it looks exactly like the first form (aside from different tables being called) and it does exactly what I want there...