I am calculating an age(Disabled field) from my date of birth field on change event.that's populating that is fine.but the variable which is bind to it has no value in it so the field is blank in next activity.so my query is how to pass the java script value to the local variable.
tw.local.age = document.getElementById('age').value ---------------> not passing any value to the age variable
suggest any other way to assign to local variable
Pinned topic passing fields value to the local variable
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-02-27T15:29:02Z at 2012-02-27T15:29:02Z by AnthonyBpm
SystemAdmin 110000D4XK7615 Posts
Re: passing fields value to the local variable2012-02-25T14:40:47ZThis is the accepted answer. This is the accepted answer.The easiest way would be to just bind a variable to this disabled field. Barring that I would make a hidden field that you update when you update this disabled field. tw.local.xyz variables are only available server side, so they can't be manipulated in client side JS.