| ||||||||||||
![]() |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
(#1)
|
(#2)
|
| Member Posts: 865 Join Date: Jun 2003 Location: United Kingdom |
09-03-2006, 01:21 AM
Hi, When adding a custom field you can select if it is required and also enter Regexp Validation. UK cPanel/WHM hosting accounts http://ukwebsolutionsdirect.co.uk |
| | |
(#3)
|
(#4)
|
| Member Posts: 52 Join Date: Dec 2005 |
21-03-2006, 09:34 PM
Quote:
| |
| | |
(#5)
|
| New Member Posts: 2 Join Date: May 2006 | Regexp -
04-05-2006, 05:45 PM
Quote:
Also little question: why my simple regexp ^[a-z\.]+$ for verification domain names always failed on any name like domain.com ? | |
| | |
(#6)
|
(#7)
|
(#8)
|
(#9)
|
| Member Posts: 52 Join Date: Dec 2005 |
30-05-2006, 06:41 PM
Quote:
Ticket ID: UAW-164226 Status: Closed Created On: 08 Mar 2006 08:45 PM Jack Taugher Posted On: 08 Mar 2006 08:45 PM -------------------------------------------------------------------------- How can I make a custom-field in Tickets required and RegExp'd? That is now that we have a list of about 40-options to choose from for a custom-field, I'd like to make it so that the "selected one" is blank (or says "Choose One"), make it required and then setup a RegExpression to make sure it's NOT "Choose One". Varun Shoor Posted On: 14 Mar 2006 06:48 PM -------------------------------------------------------------------------- Hi Jack, You can specify the regular expression when creating/editing the custom field. The system uses PCRE if I remember correctly. Regards, Varun Shoor Jack Taugher Posted On: 14 Mar 2006 06:50 PM -------------------------------------------------------------------------- Can you please provide an example? I don't know what to do in your software. | |
| | |
(#10)
|
| New Member Posts: 4 Join Date: May 2006 |
31-05-2006, 06:05 PM
jt, I have the same thing going on: -- Please Select Model -- <list> and the Regexp Validation to ensure that this option is not selected is: ^[A-Z0-9]{1} That means that the first character must be a to Z, 0 thru 9... Hope this helps... [RegExp hurts my brain] |
| | |
(#11)
|
| Member Posts: 52 Join Date: Dec 2005 |
31-05-2006, 07:45 PM
Quote:
| |
| | |
(#12)
|
| New Member Posts: 3 Join Date: Jun 2006 |
15-06-2006, 07:05 PM
jtaugher, You need to place the "/" delimeter around the expression, like so: /^[A-Z0-9]{1}/ Alternatively, and a better way of handling this situation, you can create a regular expression to accept any option EXCEPT your "Choose One" option. For my list, I use "- Please Select -" as the default option, and my regular expression is as follows: /^(?!.*?- Please Select -)/ Hope that helps! |
| | |
(#13)
|
(#14)
|
![]() |
| Tags |
| custom, regexp, required |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Custom field entries left over from 2.3.5 -> v3 | Mikie | SupportSuite, eSupport and LiveResponse | 3 | 24-07-2007 11:10 AM |
| Custom field (groups) in staff creation | joost | SupportSuite, eSupport and LiveResponse | 0 | 20-04-2007 10:18 AM |
| Custom Field Doesn't Work!! | caitlyntw | SupportSuite, eSupport and LiveResponse | 9 | 06-04-2007 05:16 PM |
| Merging Custom Fields in ViewTicket of Staff | Mick | SupportSuite, eSupport and LiveResponse | 0 | 21-09-2006 04:48 PM |