Help

Upcoming database upgrades. Airtable functionality will be reduced for ~15 minutes at 06:00 UTC on Feb. 4 / 10:00 pm PT on Feb. 3. Learn more here

Prefilling Form URL with hyphenated data

Topic Labels: Formulas
Solved
Jump to Solution
336 2
cancel
Showing results for 
Search instead for 
Did you mean: 

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)?

1 Solution

Accepted Solutions

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!!

See Solution in Thread

2 Replies 2

Hi @nisha_elliott your formula should work.

ENCODE_URL_COMPONENT does exactly that. What URL is generated currently?

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!!