Skip to main content
Question

Prefill et encodage avec lien vers d'autres tables

  • June 16, 2026
  • 1 reply
  • 0 views

Forum|alt.badge.img

Bonjour

Je débute sur airtable.


Je souhaite faire un formulaire personnalisé. C’est à dire avec le nom - prénom et téléphone en en-tête. J’ai une table formulaire avec un lien vers une table contact


J’ai plusieurs questions :

  • Peut on faire un formulaire avec le lookup de la table contact qui concatenate le nom et prénom 
  • Sinon peut on reprendre les fenêtres nom et prénom et téléphone ?
  • Pouvez m’indiquer si le principe de ma formule est correcte, en sachant que tous les champs viennent d’une autre table, qu’il s’agit de lookup :
  • “https...form?prefill_{champ ex: nom du contact}=”&ENCODE_URL_COMPONENT{champ ex: nom du contact} & {champ ex: prénom du contact}=”ENCODE_URL_COMPONENT{champ ex: prénom du contact} & / & {champ ex: téléphone du contact}=”ENCODE_URL_COMPONENT(champ du télépone}

 

Merci de votre aide

Viggie

1 reply

TheTimeSavingCo
Forum|alt.badge.img+32

Does this look right?  If so I’ve set it up here for you to check out and you can duplicate it into your own workspace to play with it!

And here’s the formula:

'https://airtable.com/appoINTdnyewYDFRS/pagoEQ9Fx0OLvmIh7/form' & 
'?prefill_' & ENCODE_URL_COMPONENT('First Name') & '=' & ENCODE_URL_COMPONENT({First Name (from Contacts)} & '') &
'&prefill_' & ENCODE_URL_COMPONENT('Last Name') & '=' & ENCODE_URL_COMPONENT({Last Name (from Contacts)} & '') &
'&prefill_' & ENCODE_URL_COMPONENT('Phone Number') & '=' & ENCODE_URL_COMPONENT({Phone Number (from Contacts)} & '')

The main differences would be: 

  1. Need to add ‘prefill_’ for each field
  2. The lookup values need to be converted into strings e.g. {First Name (from Contacts)} & ''
  3. When encoding the field names we don’t want the curly brackets as that grabs the value of the field instead