Forum Post: Bug with Edit pages and Multi level Dependent pick-lists using related Objects:

  • Thread starter Thread starter spope-linx
  • Start date Start date
Status
Not open for further replies.
S

spope-linx

Guest
There appears to be a bug with Edit Pages in Rollbase not displaying the currently selected value for the bottom levels of multi-level dependent pick-lists. (Using Related Objects.) We have managed to workaround this, but believe the issue needs to be fixed. We are currently running: 3.1.3.0 Example: Consider and Accommodation Request, related to the following 3 related objects: Property Room type Room Rate / Service Level This all works nicely, until we try Editing the Accommodation request, when the 3rd item appears not to be selected in the 3rd level of the dependent pick-lists: Example: After clicking Edit for an accommodation record: The 3rd level of the picklist is not being displayed, but the current details are correct in the record. (The note filed is a field from the related field value from the rate record. - and is correct) Please Select is appearing instead of the related record name details. Workaround: We had to introduce a Script component on the Edit Page for the Accommodation request: (Variable wait-time as number of available options appears to impact on the reliability of this workaround.) script $(document).ready(function(){ var rateselection = document.getElementById("R191022"); var rateoptions = rateselection.options; var waittime = rateoptions.length * 250; setTimeout(function(){ for (var i=0; i rateoptions.length; i++){ // alert(rateoptions .text + " **** " + "{!R191022.name#text}"); if (rateoptions .text == "{!R191022.name#text}") { rateoptions .selected = true; break; } } },waittime); }); /script After adding this script component, the screen eventually displays the correct value.

Continue reading...
 
Status
Not open for further replies.
Back
Top