diff --git a/smart_service/transactions/doctype/procedure/procedure.js b/smart_service/transactions/doctype/procedure/procedure.js index e600648..daa3f3e 100644 --- a/smart_service/transactions/doctype/procedure/procedure.js +++ b/smart_service/transactions/doctype/procedure/procedure.js @@ -35,7 +35,8 @@ frappe.ui.form.on('Procedure', { }, validate: function (frm) { - var regex = /[@#$%^*\\[\]{}`~\\|\?]+/; + // var regex = /[@#$%^*\\[\]{}`~\\|\?]/; + var regex = /[@#$%^\\[\]{}`~\\|\?]/; if (frm.doc.procedure_details) { for (var i = 0; i < frm.doc.procedure_details.length; i++) { if (regex.test(frm.doc.procedure_details[i].content) === true) {