Invalid Inputs not checked
-
I fixed this by editing the template:
nameyourprice-price-form.php on line 13so that: input type=”number”
<input type=”number” id=”ywcnp_suggest_price_single” class=”ywcnp_sugg_price short wc_input_price” name=”ywcnp_amount”>
This keeps invalid inputs such as $ from being entered by customers, and since the plugin doesn’t sanitize the inputs to only allow numbers, this is a good fix that will solve this situation in most browsers.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Invalid Inputs not checked’ is closed to new replies.