Have been using vfe form with opposing listboxes in use since 2014. In the past week, the listboxes don't work (checking one does not automatically uncheck the other). Values in the opposing listboxes are exact match. Have double checked underlying form to confirm that opposing listboxes are appropriately referenced with each other. Using CPS ver 12.00.12. Anybody else having similar problems? Any help appreciated. Thanks
What happens if you make a dummy form with opposing list boxes and nothing else? Does it work then?
Forms do not suddenly stop working unless there is an extenuating circumstance. If no changes have been made to the form, it most likely is due to an external cause. A few steps to try:
1) Open a blank update and insert only the affected form and test. If the form functions as expected, then there may be a conflict or an issue with another form in the update. Cliff's suggestion of isolating and testing the fields is a viable path and helpful if it can be recreated and MEL traced if the issue exists with the form by itself in an update.
2) Run a MEL trace. First look for errors in the MEL trace. Certain types of errors are 'critical' in MEL and prevent code from fully executing. If an error is found, resolve the error and test again. Once error free, look for the block where the opposing list box should be executing. Follow that block to see if other code is hijacking the variable (blocking or resetting the value).
3) One other consideration could be the health of the forms table. It might be possible that corruption exists and is causing the issue, though it is doubtful since no other forms are mentioned as having issues. This can often be replicated by importing a different form to see if it suffers from any unexpected issues. It it does, then I would suggest contacting athenahealth support for assistance in cleaning up the forms table.
I would suspect it is a MEL code issue before all else, and confirm steps 1 & 2 before considering step 3.
Good luck.
I did try a dummy form with opposing list boxes which worked correctly but stopped working when copied into the non-functional form. Ultimately got the form to work by copying elements of it section by section into a new form, and testing for functionality incrementally. Probably was a MEL code issue, but since I have a working form, not going back to trace the reason why (unless the problem recurs). Thanks for the suggestions.