Reference hidden attributes in a DC definition

Just discovered you can access all of the hidden attributes held in the DC definition with a DC formula, so I figured I would share… No idea what a use case could be, anyone already using this little trick somehow?


Hidden Atts.skp (22.7 KB)

2 Likes

I had a look at this after seeing your post, pretty cool. Found out you can also set hidden attributes by using onclick.
SET ( “_lenx_access”,“VIEW”,“TEXTBOX”);
SET ( “_leny_access”,“TEXTBOX”,VIEW") etc

2 Likes

By this method one could swap the contents of a dropdown and its label, based on the choice of another dropdown. Though I was aware of using some of hidden attributes, I never considered the set and onclick
Good one!!!
Note: list is converted to URL, I edited an excel macro to do this either way. One has to PM ones email address to me, so can send it if one requires it.

1 Like

Using hidden attributes is completely new idea to me and unlocks alot of potential. Ie choosing a fixed position or unlocked position, lengths etc the list goes on. I could implement any changes using the set method though. You can still reference them and check values. I had trouble passing different list options using this method.
Ps i have the macro that you sent to me earlier :ok_hand:

1 Like

change label and list.skp (25.4 KB)

the sequence of the number with attribute list and hidden is one step different, like the change is applied to the last list whereas the attribute option is the same

1 Like

Haha! Supercool. Just when I thought DCs had no more surprises.