Controlled Access Section & EditGoToField

I’ve added everything I could think of to get the cursor to go to the missing field that is in a controlled access section.

This code is the beginning of code that is in an Action button (not the querysave). What am I missing?

@If(WorkTitle = “”;

@Do(@Prompt([Ok];“Missing Field” ;“You must fill in the Work Title to submit”);

@Command([SectionExpandAll]);

@Command([EditDocument]; “1”);

@Command([EditGotoField];WorkTitle);

@Return(“”)); “”);

Subject: Answer - Controlled Access Section & EditGoToField

Figured it out … just missing ticks around field name in EditGoToField. Hope this helps someone else!