Skip to content

Commit c866300

Browse files
authored
Merge pull request #1940 from appwrite/form-url-fixes
update
2 parents e88a396 + 277d8fe commit c866300

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

src/routes/contact-us/enterprise/+page.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,9 @@
217217
>
218218
<input
219219
required
220+
pattern="^(https:\/\/www\.|https:\/\/)?([a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)+)[a-zA-Z0-9\-\._~:\/\?#[\]@!\$&'\(\)\*\+,;=.]*$"
220221
class="web-input-text w-full"
221-
type="url"
222+
type="text"
222223
placeholder="https://appwrite.io"
223224
id="companyWebsite"
224225
bind:value={companyWebsite}

src/routes/integrations/technology-partner/+page.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,9 @@
239239
>
240240
<input
241241
required
242+
pattern="^(https:\/\/www\.|https:\/\/)?([a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)+)[a-zA-Z0-9\-\._~:\/\?#[\]@!\$&'\(\)\*\+,;=.]*$"
242243
class="web-input-text"
243-
type="url"
244+
type="text"
244245
placeholder="https://appwrite.io"
245246
id="companyWebsite"
246247
bind:value={companyWebsite}

src/routes/startups/+page.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -723,6 +723,7 @@
723723
required
724724
class="web-input-text"
725725
type="text"
726+
pattern="^(https:\/\/www\.|https:\/\/)?([a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)+)[a-zA-Z0-9\-\._~:\/\?#[\]@!\$&'\(\)\*\+,;=.]*$"
726727
name="company-website"
727728
placeholder="https://company.com"
728729
aria-label="Company website"

0 commit comments

Comments
 (0)