So, the issue is that the form field is still showing as empty when submitting, although it has been updated from js.
For textbox field, I able to overcome this issue like focusing it when updating value from js as below.
But,for drop down I'm not able to. Help me on this if anyone has idea on this.
you can get the som expression of the field from the ui
var citiesDropDropDown = guideBridge.resolveNode("guide.guide1.guideRootPanel.cities");
citiesDropDropDown.items = ["San Jose","Santa Clara"];
Did you use the code provided?
i will send you sample code soon
You have to use GuideBridge api
google for adaptive forms GuideBridge api
in that api there is resolveNode method to get hold of the field and then set its value
Thanks alot.! It works. Thanks for the code screenshot. Much appreciate your effort.
As workflowuser mentioned about the using guideBridge API to perform get/set operation. That is the right way to do it. Please test and let us know if you need any help further.
Ya, I went through using resolvenode, but not able to achieve as am not sure how to use.
Sharing a sample code will help alot. Thanks.!