-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WD-18696] Ref: use form generator on /iot bubble (#14791)
* Added form for iot/smart-city * Added form for iot/smart-home * Added form for the rest of iot bubble * Fixes
- Loading branch information
1 parent
a510071
commit 43653a5
Showing
14 changed files
with
449 additions
and
780 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,133 @@ | ||
{ | ||
"form": { | ||
"/internet-of-things": { | ||
"templatePath": "/internet-of-things/index.html", | ||
"childrenPaths": [ | ||
"/internet-of-things/appstore", | ||
"/internet-of-things/digital-signage", | ||
"/internet-of-things/gateways", | ||
"/internet-of-things/management", | ||
"/internet-of-things/networking", | ||
"/internet-of-things/smart-displays" | ||
], | ||
"isModal": true, | ||
"modalId": "contact-modal", | ||
"formData": { | ||
"title": "Let's get your project to market faster!", | ||
"introText": "Canonical partners with silicon companies, board manufacturers and ODMs to help the industry bring smart device and software capabilities to market faster. Tell us about your project so we can bring the right Canonical team members to the conversation to help you.", | ||
"formId": 1266, | ||
"returnUrl": "/internet-of-things#success", | ||
"lpUrl": "https://pages.ubuntu.com/things-contact-us.html", | ||
"product": "" | ||
}, | ||
"fieldsets": [ | ||
{ | ||
"title": "Tell us more about your project", | ||
"id": "about-project", | ||
"fields": [ | ||
{ | ||
"type": "long-text", | ||
"id": "about-project", | ||
"label": "Abour your project" | ||
} | ||
] | ||
}, | ||
{ | ||
"title": "Do you have a commercial project?", | ||
"id": "commercial-project", | ||
"inputName": "commercial-project", | ||
"inputType": "radio", | ||
"isRequired": true, | ||
"fields": [ | ||
{ | ||
"type": "radio", | ||
"label": "Yes", | ||
"value": "Yes" | ||
}, | ||
{ | ||
"type": "radio", | ||
"label": "No", | ||
"value": "No" | ||
} | ||
] | ||
}, | ||
{ | ||
"title": "When do you need to ship?", | ||
"id": "shipping-time", | ||
"inputType": "radio", | ||
"inputName": "shipping-time", | ||
"isRequired": true, | ||
"fields": [ | ||
{ | ||
"type": "radio", | ||
"label": "Next 3 months", | ||
"value": "Next 3 months" | ||
}, | ||
{ | ||
"type": "radio", | ||
"label": "Next 3 - 6 months", | ||
"value": "Next 3 - 6 months" | ||
}, | ||
{ | ||
"type": "radio", | ||
"label": "Next 6 - 12 months", | ||
"value": "Next 6 - 12 months" | ||
}, | ||
{ | ||
"type": "radio", | ||
"label": "No timeline - just researching", | ||
"value": "No timeline - just researching" | ||
} | ||
] | ||
}, | ||
{ | ||
"title": "How should we get in touch?", | ||
"id": "about-you", | ||
"noCommentsFromLead": true, | ||
"fields": [ | ||
{ | ||
"type": "text", | ||
"id": "firstName", | ||
"label": "First name", | ||
"isRequired": true | ||
}, | ||
{ | ||
"type": "text", | ||
"id": "lastName", | ||
"label": "Last name", | ||
"isRequired": true | ||
}, | ||
{ | ||
"type": "text", | ||
"id": "company", | ||
"label": "Company", | ||
"isRequired": true | ||
}, | ||
{ | ||
"type": "text", | ||
"id": "title", | ||
"label": "Job title", | ||
"isRequired": true | ||
}, | ||
{ | ||
"type": "email", | ||
"id": "email", | ||
"label": "Email address", | ||
"isRequired": true | ||
}, | ||
{ | ||
"type": "tel", | ||
"id": "phone", | ||
"label": "Mobile/cell phone number" | ||
}, | ||
{ | ||
"type": "country", | ||
"label": "Country", | ||
"isRequired": true | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.