I'm trying to create a new fraction pattern for validation using Massimo's TMT Validator but it does not validate correctly.
tmt_globalPatterns.fraction = new RegExp("^\d* \d*\/{1}\d*$|^\d*$"); It's supposed to accept numbers and/or fractions. Please advise. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233503 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54