Support Article

Declare Expression property values not being refreshed on screen

SA-29490

SUMMARY

A value is not getting changed in Declare expression.

Error Messages



Not applicable


Steps to Reproduce



1. Add 4 integer input fields in a section.

2 Add a 5th integer field(TotalBalance) and create a declare expression over it as below:




3. Enter the value as 1 in the first input box and press tab key
4. Perform this operation quickly to enter values in all the four fields
5. The sum that is displayed on the screen will not be accurate.


Root Cause



User configuration and server response time.
 

Resolution



Here’s the explanation for the reported behavior:

The second request is sent before the first request response was received.Generally whenever value changes in the input  field an AJAX request is sent to the server and gets the response from it. It depends upon server how much time it is taking to send the response to the client. It depends upon the reponse time to update the value in the declare expression. The reported behaviour seems to be due to the heavy components present in the section and the time taken for refreshing the screen.

 

Published October 22, 2016 - Updated October 25, 2016

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.