How to eliminate first value in a drop-down list
Ex: In one drop-down list have default value is "Select One"(first string), by clicking on it we will see the 10 types of products. so here it required exclude the "select one", and pick the one product out of 10 products randomly.
Please suggest the answer to this..
Re: How to eliminate first value in a drop-down list
Use rand() and _idx functions to generate random index number. if the index no is 1 again genarate the idx random number.
after correlation ,correlation length is 11 (10 products and "seelct one" string)
i=rand() % lr_paramaarr_len("dropdown ") +1;
lr_save_string (lr_paramarr_idx ("dropdown ", i)," dropdown1");