Add Comma Separator to Text Field input
-
is there any shortcode, php code or plugin to add comma separator for number type input inside text field. like :
function digits (number) {
return number.toString().replace(/(\\d)(?=(\\d\\d\\d)+(?!\\d))/g, “$1,”);
}
// by using digits(number)and how to invoke above code inside my form?
Regards,
SWG
- The topic ‘Add Comma Separator to Text Field input’ is closed to new replies.