I am trying to bind the data to a FORM from a computed field which calculates the amount according to the number of days selected.Please help me!
Take the 2-minute tour
×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
|
I had the same issue. This may not be the most efficient way to solve this but it works. var cost1 = getComponent('ItemCost1').getValue(); document1.replaceItemValue("ItemCost_1", cost1), You can put this in a QuerySave event & it works well. |
|||
|
My preference is to let the Computed Field do the work and put the targeted field into a place that is not displayed to the user but is visible on the XPage. Something like this:
Happy coding /Newbs |
|||
|