The Form Tools forums are no longer active, but the old posts have been archived here. Please see the Help page on how to get help / report issues.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[\D,]+ digits and comma only validation
Instead of writing a new rule in the rsv I utilized reg_exp

rules.push("reg_exp,Sec1_Color_Pages_List,^[0-9]+(?:\\,[0-9]+)*$,Color Page list must have format of number comma number in Section 1")

The reg_exp of ^[0-9]+(?:\\,[0-9]+)*$
did the trick.

valid strings:

Invalid: 1,
or any "non number and comma" combination must end with number not comma

Messages In This Thread
RE: [\D,]+ digits and comma only validation - by johnbleck2 - Jan 14th, 2014, 5:05 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)