Skip to content
Snippets Groups Projects
Commit 723fb6d4 authored by Remco Tukker's avatar Remco Tukker
Browse files

allow multiple urls in connected sites question

parent a95c5a01
No related branches found
No related tags found
1 merge request!47Feature/comp 218 migrating 2022 data
...@@ -94,7 +94,7 @@ id_to_name = { ...@@ -94,7 +94,7 @@ id_to_name = {
16762: "crisis_management_procedure", # "Yes" "No" 16762: "crisis_management_procedure", # "Yes" "No"
16763: "crisis_exercises", # json list with double quotes ["We participate in GEANT Crisis workshops such as CLAW","No, we have not done any crisis exercises or trainings","We participated in National crisis exercises ","We had a real crisis","We run our own simulation exercises","We run our own tabletop exercises","We have done/participated in other exercises or trainings"] 16763: "crisis_exercises", # json list with double quotes ["We participate in GEANT Crisis workshops such as CLAW","No, we have not done any crisis exercises or trainings","We participated in National crisis exercises ","We had a real crisis","We run our own simulation exercises","We run our own tabletop exercises","We have done/participated in other exercises or trainings"]
16507: "connected_sites_list", # json list with double quotes NB the new situation allows only 1 single entry TODO change to list like some of the other questions 16507: "connected_sites_lists[]:connected_sites_url", # json list with double quotes
16509: "connectivity_proportions:cultural:nr_connected", 16509: "connectivity_proportions:cultural:nr_connected",
16510: "connectivity_proportions:universities:nr_connected", 16510: "connectivity_proportions:universities:nr_connected",
16511: "connectivity_proportions:secondary_schools:nr_connected", 16511: "connectivity_proportions:secondary_schools:nr_connected",
......
...@@ -778,17 +778,26 @@ ...@@ -778,17 +778,26 @@
"name": "panel2", "name": "panel2",
"elements": [ "elements": [
{ {
"type": "text", "type": "matrixdynamic",
"name": "connected_sites_list", "name": "connected_sites_lists",
"title": "Please provide a URL that lists the sites that are connected to the NREN, if available:", "title": "Please provide the URLs that lists the sites that are connected to the NREN, if available:",
"inputType": "url", "columns": [
"validators": [
{ {
"type": "regex", "name": "connected_sites_url",
"text": "Please provide a single valid url", "title": "Url:",
"regex": "^(https?:\\/\\/)?([\\da-zA-Z\\.-]+\\.[a-zA-Z\\.]{2,6}|[\\d\\.]+)([\\/:?=&#%]{1}[\\d_a-zA-Z\\.-]+)*[\\/\\?]?$" "cellType": "text",
"inputType": "url",
"validators": [
{
"type": "regex",
"text": "Please provide a single valid url",
"regex": "^(https?:\\/\\/)?([\\da-zA-Z\\.-]+\\.[a-zA-Z\\.]{2,6}|[\\d\\.]+)([\\/:?=&#%]{1}[\\d_a-zA-Z\\.-]+)*[\\/\\?]?$"
}
]
} }
] ],
"rowCount": 1,
"maxRowCount": 50
}, },
{ {
"type": "matrixdropdown", "type": "matrixdropdown",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment