
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 26, 2021 08:52 AM
Hi! I’m trying to create a prefilled form URL, but I believe the prefill isn’t working because I’m trying to prefill information with hyphens. Any ideas on how I can make this work?
Example:
Field Name: Type Name
Example data: Apples - Michigan
Form URL: “https://airtable.com/shrxxxxxxxx?"&“prefill_”&ENCODE_URL_COMPONENT(“Type Name”)&”="&ENCODE_URL_COMPONENT({Type Name})
How do I make sure “Apples - Michigan” doesn’t break the URL (and in turn, not prefill the form)?
Solved! Go to Solution.
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 26, 2021 10:40 AM
AH we found another error in our formula, apologies! We thought the hyphen just wasn’t translating well into the URL but turns out it was something else!!

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 26, 2021 09:38 AM
Hi @nisha_elliott your formula should work.
ENCODE_URL_COMPONENT
does exactly that. What URL is generated currently?

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 26, 2021 10:40 AM
AH we found another error in our formula, apologies! We thought the hyphen just wasn’t translating well into the URL but turns out it was something else!!
