Menu

manually trigger cascading LOV function ?

Help
Anonymous
2010-06-14
2013-04-22
  • Anonymous

    Anonymous - 2010-06-14

    Hello,
    I have two cascading lov select lists, everything works but the problem is that the primary list contains over 600 records. So I decided to create an autocomplete textfield to search for the record instead. The key needed for the second select list is return to a hidden ID field.

    My problem is that since the automatic cascade stuff in ApexLib requires both fields to be select list/popup-lovs the autogenerated stuff is never applied to the hidden ID field.

    Is there a way to trick the automatics to add the autogenerated code to my hidden id text field. Or could you provide me with an example of what to add manually. I'm half way there by using pop-lovs, but It's not as clean a solution as I would like to have.

    Cheers,
    gabs
    Is there a way to either trick the

     
  • Anonymous

    Anonymous - 2010-06-14

    Nevermind, I think I solved it myself by adding class="lov" to the hidden field :)

     
  • Peter Raganitsch

    Hi Gabs,

    you could use Javascript function apexlib.field.populateDependingLovs to populate the depending LOVs.

    Peter

     

Log in to post a comment.