I am looking for code to check and see if a field contains a "." I am using IP 2007 and Jscript.
My code is something like this:
var summaryField = XDocment.DOM.selectSingleNode("group1/my:field1");
Then i want to do an if statement and that is where i need the contains statement something like
if(summaryField.text == contains(summaryField.text, '.');
That isnt the right syntax, but thats what im looking for. Just something to check and see if that field contains a '.". Any ideas? Thanks