Jt107
11-29-2010, 06:20 PM
I need to do an input text validation which include opening parenthesis and closing parenthesis, what I need to validate is the opening parenthesis match with closing parenthesis. Here is a sample of the entry text:
thisis(test(of(matching(parenthesis)and)if)working
which one closing parenthesis is missing. I would like to warn the user to correct it before submit.
When I use ListValueCount(form.myValue,"(")> gives me 0 accourance.
Not sure how could I count the "(" and ")" to compare. Please advice.
Thanks,
JT
thisis(test(of(matching(parenthesis)and)if)working
which one closing parenthesis is missing. I would like to warn the user to correct it before submit.
When I use ListValueCount(form.myValue,"(")> gives me 0 accourance.
Not sure how could I count the "(" and ")" to compare. Please advice.
Thanks,
JT