Customer login  |   Contact us
Home Company Products Support Purchase
Forum Home » Survey software » Opinio

Topic: text (must match/regular expression) multiple checks
Replies: 3   Pages: 1   Last Post: Mar 12, 2008 8:11 PM by: irina


Back to Topic List Back to Topic List Topics: [ Previous | Next ]
Replies: 3   Pages: 1  
beck.pl

Posts: 2
From: Toronto
Registered: Mar 10, 2008
text (must match/regular expression) multiple checks
Posted: Mar 10, 2008 4:23 PM
  Reply

I was wondering if there is a way to have the text (must match/regular expression) validate multiple responses. For example if I wanted the user to enter one of the following responses:

bd1234
ta1234
ta5678

how would I write the expression using the (must match or regular expression fields)?

Or is there a way to refer to an external list?

irina

Posts: 315
From: Norway, Oslo
Registered: Sep 4, 2003
Re: text (must match/regular expression) multiple checks
Posted: Mar 10, 2008 9:58 PM
  Reply

Here is a page where you can write and test different regexp:

http://www.fileformat.info/tool/regex.htm

beck.pl

Posts: 2
From: Toronto
Registered: Mar 10, 2008
Re: text (must match/regular expression) multiple checks
Posted: Mar 11, 2008 10:21 PM
  Reply

Do you have an example of a basic regex expression that matches multiple text strings. I haven't coded in Java in 5 years and just need a head start on the form

irina

Posts: 315
From: Norway, Oslo
Registered: Sep 4, 2003
Re: text (must match/regular expression) multiple checks
Posted: Mar 12, 2008 8:11 PM
  Reply

I don't work with regex a lot, so every time I need to write one I check documentation. You can do the same or you can write this question on som regex forum.



© 1998-2019 ObjectPlanet, Inc. Øvre Slottsgate 5, 0157 Oslo, Norway Tel (+47) 2233 3360 | Fax (+47) 2233 3361