This topic is locked

Revisiting: 'Please select' showing in second lookup depende

5/8/2007 11:08:03 AM
ASPRunnerPro General questions
M
mfred author

I asked for help to get the "Please select" to show in the first of the interdependent menus. I was given the instructions as noted below. However, this did nothing. 'Please select' continies to appear in the secondary menus. Universally, my clients first try to select something in the secondary menus before the first menu because the menu tells them to in a blank form. Please let me know what I have to do to cahnge this.
Also, as a future development, I suggest that the secondaty menus only show 'Please select' only as needed AFTER something is selected in the first menu. My clients can't be the only ones confused by this convention. From their perspective, it is couterintuitive and looks clumsy.
Here are the instructions given to me:

you can do it editing generated files manually.

Open include/jsfunctions.js file in any text editor, find this line

if(i<3 && i>1 && !bLoading)

and replace it with this one:

if(!bLoading)

Then find following code:

if(SecondValue=="" && document.forms.editform.elements[SecondField].length<3)

if(SecondValue=="")