Skip to content

Commit

Permalink
Fixed regex... it must contain regex value, not the message.
Browse files Browse the repository at this point in the history
  • Loading branch information
milanmajchrak committed Nov 26, 2024
1 parent f2d3985 commit 5d60683
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions dspace/config/submission-forms.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
<input-type>onebox</input-type>
<hint>Enter the project url.</hint>
<required/>
<regex>The supplied url must start with http/https</regex>
<regex>http.*</regex>
</field>
</row>
<row>
Expand All @@ -104,7 +104,7 @@
<input-type>onebox</input-type>
<hint>A url with samples of the resource or, in the case of tools,of samples of the output.</hint>
<required/>
<regex>The supplied url must start with http/https</regex>
<regex>http.*</regex>
</field>
</row>
<row>
Expand All @@ -117,7 +117,7 @@
<input-type>onebox</input-type>
<hint>Link to original paper that references this dataset.</hint>
<required/>
<regex>The supplied url must start with http/https</regex>
<regex>http.*</regex>
</field>
</row>
<row>
Expand Down Expand Up @@ -1579,7 +1579,7 @@
<input-type>onebox</input-type>
<hint>Link to original paper that references this dataset.</hint>
<required/>
<regex>The supplied url must start with http/https</regex>
<regex>http.*</regex>
</field>
</row>
<row>
Expand Down Expand Up @@ -1875,7 +1875,7 @@
<input-type>onebox</input-type>
<hint>Link to original paper that references this dataset.</hint>
<required/>
<regex>The supplied url must start with http/https</regex>
<regex>http.*</regex>
</field>
</row>
<row>
Expand Down
10 changes: 5 additions & 5 deletions dspace/config/submission-forms_cs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
<input-type>onebox</input-type>
<hint>Uveďte URL projektu</hint>
<required/>
<regex>URL musí začínat http/https</regex>
<regex>http.*</regex>
</field>
</row>
<row>
Expand All @@ -104,7 +104,7 @@
<input-type>onebox</input-type>
<hint>URL se vzorky dat, v případě nástrojů předvedení výstupu.</hint>
<required/>
<regex>URL musi začínat http/https</regex>
<regex>http.*</regex>
</field>
</row>
<row>
Expand All @@ -117,7 +117,7 @@
<input-type>onebox</input-type>
<hint>Odkaz na původní článek, který zmiňuje tento záznam.</hint>
<required/>
<regex>URL musi začínat http/https</regex>
<regex>http.*</regex>
</field>
</row>
<row>
Expand Down Expand Up @@ -1552,7 +1552,7 @@
<input-type>onebox</input-type>
<hint>Odkaz na původní článek, který zmiňuje tento záznam.</hint>
<required/>
<regex>URL musi začínat http/https</regex>
<regex>http.*</regex>
</field>
</row>
<row>
Expand Down Expand Up @@ -1839,7 +1839,7 @@
<input-type>onebox</input-type>
<hint>Odkaz na původní článek, který zmiňuje tento záznam.</hint>
<required/>
<regex>URL musi začínat http/https</regex>
<regex>http.*</regex>
</field>
</row>
<row>
Expand Down

0 comments on commit 5d60683

Please sign in to comment.