I have 10 input or more and need to check for this array do not duplicate. if duplicate entry from user will be show that error to user too.
sample
Check array qty[] if dup. will be show and can not entry
<input name="qty[]" type="text" class="InputBox" id="<? echo "qty".$i?>" onBlur="sumTotal( qty[] )" onChange="sumTotal( qty[] )" value="0" size="5">
<input name="qty[]" type="text" class="InputBox" id="<? echo "qty".$i?>" onBlur="sumTotal( qty[] )" onChange="sumTotal( qty[] )" value="0" size="5">
<input name="qty[]" type="text" class="InputBox" id="<? echo "qty".$i?>" onBlur="sumTotal( qty[] )" onChange="sumTotal( qty[] )" value="0" size="5">
<input name="qty[]" type="text" class="InputBox" id="<? echo "qty".$i?>" onBlur="sumTotal( qty[] )" onChange="sumTotal( qty[] )" value="0" size="5">
<input name="qty[]" type="text" class="InputBox" id="<? echo "qty".$i?>" onBlur="sumTotal( qty[] )" onChange="sumTotal( qty[] )" value="0" size="5">
<input name="qty[]" type="text" class="InputBox" id="<? echo "qty".$i?>" onBlur="sumTotal( qty[] )" onChange="sumTotal( qty[] )" value="0" size="5">
<input name="qty[]" type="text" class="InputBox" id="<? echo "qty".$i?>" onBlur="sumTotal( qty[] )" onChange="sumTotal( qty[] )" value="0" size="5">
<input name="qty[]" type="text" class="InputBox" id="<? echo "qty".$i?>" onBlur="sumTotal( qty[] )" onChange="sumTotal( qty[] )" value="0" size="5">
<input name="qty[]" type="text" class="InputBox" id="<? echo "qty".$i?>" onBlur="sumTotal( qty[] )" onChange="sumTotal( qty[] )" value="0" size="5">
<input name="qty[]" type="text" class="InputBox" id="<? echo "qty".$i?>" onBlur="sumTotal( qty[] )" onChange="sumTotal( qty[] )" value="0" size="5">
直到现在,我才在一个星期内尝试。 请帮助我。
Best Regards, Vilart