Property:Regexp regexp
Jump to navigation
Jump to search
Tim Holzheim (talk | contribs) (Created page with "=Property= {{Property |name=Regexp regexp |label=Regexp_regexp |type=Special:Types/Text |index=2 |sortPos=2 |primaryKey=No |mandatory=Yes |uploadable=No |documentation=Regula...") |
Tim Holzheim (talk | contribs) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
{{Property | {{Property | ||
− | |name= | + | |name=regexp |
− | |label= | + | |label=regexp |
|type=Special:Types/Text | |type=Special:Types/Text | ||
|index=2 | |index=2 | ||
Line 10: | Line 10: | ||
|mandatory=Yes | |mandatory=Yes | ||
|uploadable=No | |uploadable=No | ||
− | |documentation= | + | |documentation=a Javascript regular expression, which the user input has to match. It must include slashes, at the beginning and end. See Regular Expressions for an introduction to writing a regular expression pattern in JavaScript, and Regex Pal for an interactive testing tool. Note that for the regexp, you cannot use the pipe character because it gets lost in the field definition. See "or char", below. |
|showInGrid=Yes | |showInGrid=Yes | ||
|isLink=No | |isLink=No | ||
Line 17: | Line 17: | ||
}} | }} | ||
=Freitext= | =Freitext= | ||
+ | [[has type::Text]] |
Latest revision as of 21:13, 26 February 2021
Property
Property | |
---|---|
name | regexp |
label | regexp |
type | Special:Types/Text |
index | 2 |
sortPos | 2 |
primary key | No |
mandatory | Yes |
namespace | |
size | |
uploadable | No |
default | |
inputType | |
allowedValues | |
documentation | a Javascript regular expression, which the user input has to match. It must include slashes, at the beginning and end. See Regular Expressions for an introduction to writing a regular expression pattern in JavaScript, and Regex Pal for an interactive testing tool. Note that for the regexp, you cannot use the pipe character because it gets lost in the field definition. See "or char", below. |
values from | |
showInGrid | Yes |
isLink | No |
allow nulls? | No |
topic | |
placeholder | |
regex |