manjusha_
Kilo Sage

@Nagashree5 

Try as below-

var cs = g_form.getValue('cost');
var letter = /^[0-9.]+$/;
if ((letter.test(cs))) {

 

}

If my answer solved your issue, please mark my answer as Correct & 👍Helpful based on the Impact

 

Thanks,

Manjusha Bangale

View solution in original post