In a script does anyone know how I can reference a particular entry in a drop down list? So, assuming the first item in a drop down has index 0, how do I script it to have that item selected as the value for that field?
Thanks. Numbering isn't really going to work for me unfortunately as I have a series of drop downs where the content depends on the value of the previous selection (as in the country, region, city scenario - though more complex) and I am using queries to populate the drop-down content. I can't figure out any way to reference the drop down content once populated in this way.
What I really want to do is find whether or not there are values in the lists going down the hierarchy - sometimes there won't be - so that I can hide or otherwise change the subsequent drop downs so the user knows not to bother selecting the next level down. If that makes sense? But I have tried everything that is within my knowledge and can't come up with anything.
For the country, state, city example you may create one folder for that data. Use query to scan all records in the selected country for the country drop-down menu, then use another query to scan all the records in the selected country and state for the state drop-down menu,and then use another query to scan all all the records in the selected country, state, and city for the city drop-down menu.