Oracle CRM On Demand JavaScript API Developer's Guide > JavaScript API Reference > Methods for the Field Object >

Guidelines for Setting Screen Values


When you have multiple fields for which you want to set a value, and if setting a value for one of those fields triggers a page refresh (for example, Sales Stage, Dynamic Layout driving field), then you must call the setValue() method on all the other fields before you call setValue() on the field that triggers the page refresh. Otherwise, all the setValue() calls following the page refresh will be ignored.

Oracle CRM On Demand JavaScript API Developer's Guide, Release 38 Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Legal Notices.