setFocus action

It would be really nice to have an action formula in CFL to set the focus on any Coda object: a textbox, a select control, first row of a named table, a button, the first object of the active page or open modal, etc.

There are many use cases, one thing where I really could use this: when I push a button to clear a Select Control and I want to continue typing for the next select item. But there are many more, like pushing a button to go to the first empty row of a table, of go to a specific row of a table, move to a specific field on a modal after predefined actions or put the focus on a specific section with one or more buttons, etc.

4 Likes