Validate dynamic component attribute field

hi

@Anssi

referring to another thread by philip. where the lenx is the current attribute field, which validates the data and retains in the field itself. (which i am trying to emulate) (option-01)
Another option provided is referencing another attribute, ( Height) (Option 02)
Both works correctly in that skp file of the thread.
But for me the first option fails. where i am making mistake.