Monday, September 21, 2015

Dexterity - Hyperspaced lookup button is firing change script

Problem
I have an ID field called "TypeID" and a lookup button. The lookup button has the property Hyperspace=true, which means it should not pull focus from the TypeID field and therefore not result in the change script running. However, IT IS pulling focus and causing the change script to run.

Solution
In a recent change I switched out TypeID with a local field, acting a pre-processing temp field. The problem ended up being that the original TypeID field, which is now hidden, is linked to the Type ID lookup button. Removing the link from the hidden TypeID solved the problem.

Very odd, I've never seen this problem before. 

No comments:

Post a Comment

There was an error in this gadget