How can I enter a text and have it change to asterisk?

I forgot to add this previously and only now just remembered… you mentioned you didn’t want to duplicate the fields because another interaction is dependent on the click in that field.

If you have several events on different shapes that will trigger the same action, when that “shared action” changes in some way, you now have to go and change it everywhere it occurs. I’m always bound to miss one little thing somewhere, and now my prototype behaves all weird.

What you can do however, is put your shared action that is triggered from multiple shapes on to one single shape. Then use Fire Event in those multiple other places when you want that shared thing to be triggered.

Caveats (there’s always something :slight_smile:):

  • this requires some forethought, I often don’t remember to do this until I have to change it that first time OR if I’m lucky, recognize it happening when i start putting in the second trigger of the action
  • You do still have to make sure that the Fire Event part happens everywhere you want to trigger the Shared Action

You can do some really cool things like multiple nested layers of conditional logic with Fire Events, but I need to go dig those up in my archives to figure out exactly how I did it.

I also use it a fair amount in Components with complex actions, I use a set of hidden shapes with interactions on them that will trigger different behaviours in the component.

Demo | shared shape actins.rp (59.4 KB)

1 Like