Hi Gopikrishna
> Iam giving my code,
>
> <xforms:action ev:event="xforms-value-changed">
> <xforms:setvalue ref="instance('main-instance')//fkgiaddlownctryid"
> value="if(instance('main-instance')//fkgiaddlownstid!='Blank') then
> 'US' else ''"/>
> </xforms:action>
>
> As here the setvalue works only when value is changed in one node but i
> want to change the value even the value is not changed is there any way
> to do this.
the question is _when_ that action should "fire". If the action should
take place after the user gave focus to the specific control and left it
again, regardless of a value change, then DOMFocusOut may be suitable.
If the value should be changed in any case, even if the control never
got/lost focus, then you will have to react on a more general event,
like xforms-submit, when the users submits and leaves the actual form.
HTH
florian
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws