Đang Thực Hiện

139309 JavaScript Form Validation

I have an input form that allows users to enter prices, e.g,. "$8.99" for products. But the prices change constantly so users can also enter "call" or other text. The problem is sometimes users forget to enter the decimal point and accidently enter "899" which throws off the whole system.

I need a JavaScript that each field can call onChange that will extract any numbers in the field (if any) and check if

a) there is a decimal point in the number

b) the number is below a threshhold number

I would like this to be pretty plug-and-play. Let me know if you have any questions.

Kĩ năng: Bất kì công việc gì, Javascript

Xem nhiều hơn: check call system, javascript validation, extract javascript, change javascript, validation system, call prices, field validation, javascript problem, extract products, form change, call form, problem javascript, change form, form problem, form allows, javascript number, javascript input field onchange, javascript form validation decimal numbers, javascript field validation, javascript field change, javascript check input, javascript check change, javascript check, input form, extract form field

Về Bên Thuê:
( 0 nhận xét )

ID dự án: #1885484

Được trao cho:


can be done

$20 USD trong 0 ngày
(0 Đánh Giá)