Re: 14.9 The setfocus Element

On Fri, 15 Sep 2017 15:33:13 +0200, Steven Pemberton  
<steven.pemberton@cwi.nl> wrote:

> Special Attribute:
>   control
>   Author-optional reference to a control.
> https://www.w3.org/community/xformsusers/wiki/XForms_2.0#The_setfocus_Element
>
>
> Why is @control optional? surely <setfocus/> does nothing.

Because of the <control/> child element! Duh.

    <setfocus><control value="..."/></setfocus>

Steven

Received on Friday, 15 September 2017 13:44:21 UTC