Re: select1 control

>   I have 2 different forms which inherit from the same XML schema and  
> have their own XML instance data(because i use the XML Forms Generator  
> to generate them) :
>     - one of them is called "Types and Constants" and contains an input  
> field called "Name"
>     - the other form is called "Logical Component" and it contains a  
> select1 control called "Type", which should be automatically populated  
> as soon as the user inserts items into "Name" field in the "Types and  
> Constants" form
>  How can i do that? Is it possible to bind a form control to a node into  
> another form? And how can i populate the select1 control? i can use the  
> itemset element or i have to implement some java script?

I explain how to populate a select1 in XForms for HTML Authors part 2:
http://www.w3.org/MarkUp/Forms/2006/xforms-for-html-authors-part2#Getting
You do indeed use an itemset.

As for one form being updated "as soon as" the user adds data to another  
form, it can't be done. The one form would have to refresh the instance it  
shares with the other form (for instance using a trigger that the user  
activates) once the data has been saved from the other form.

Best wishes,

Steven Pemberton

Received on Friday, 31 March 2006 10:16:42 UTC