Quantcast
Channel: NBStore Discussions Rss Feed
Viewing all articles
Browse latest Browse all 4081

New Post: Quantity Validation Only Allowing Numbers that Start with a 1 or 2.

$
0
0
Looking at the source I see you have a validation limit of 250.

var dnn_ctr1174_ProductList_dlProductDetail_valqty_0 = document.all ? document.all["dnn_ctr1174_ProductList_dlProductDetail_valqty_0"] : document.getElementById("dnn_ctr1174_ProductList_dlProductDetail_valqty_0");
dnn_ctr1174_ProductList_dlProductDetail_valqty_0.controltovalidate = "dnn_ctr1174_ProductList_dlProductDetail_txtqty_0";
dnn_ctr1174_ProductList_dlProductDetail_valqty_0.errormessage = "*";
dnn_ctr1174_ProductList_dlProductDetail_valqty_0.evaluationfunction = "RangeValidatorEvaluateIsValid";
dnn_ctr1174_ProductList_dlProductDetail_valqty_0.maximumvalue = "250";
dnn_ctr1174_ProductList_dlProductDetail_valqty_0.minimumvalue = "1";

I've just check on the demo store and it looks like the validation range is checking for a "string" and hence 3 is greater than 250. I think this is an oversight on my part. It should be checking for a numeric range.

As a work around go into the settings and change "productqty.limit" setting to "999"

Dave.

Viewing all articles
Browse latest Browse all 4081

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>