Skip to main content
Solved

Prefilling Form URL with hyphenated data


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

Best answer by nisha_elliott

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

View original
This topic has been closed for replies.

2 replies

Forum|alt.badge.img+3

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