Skip to main content
Solved

Unique form links with pre-filled fields

  • September 4, 2021
  • 5 replies
  • 678 views

will66

Hello all, I would love to know if there is a way to give a unique link to a form that pre-fills some fields?

Use case - we have a list of customers that submit invoices for checking and approval for payment.

 

I would like to give each customer a link that, gives them access to a new start form that already populates the name of the company and our internal ID for them, so they cannot edit it?

 

Is this possible?

 

Best answer by ViniBevilacqua

Hey Will, what’s up?

You can prefill form fields using URL variables, here’s how: 

 

Example: 

If you want to pre-fill the â€œRazão Social" and â€œSaldo disponível para resgate" fields based on a value you decide, you must access the form with theses values set in the form URL. 

Form URL: https://app.pipefy.com/public/form/tWwe5MSn

Variables:

?raz_o_social=teste

&saldo_dispon_vel=12345.67

 

Form URL with variables:

 https://app.pipefy.com/public/form/tWwe5MSn?raz_o_social=teste&saldo_dispon_vel=12345.67

 

This should result on:

 

 

To be able to find out what are the variables’ name, you must inspect your form page link this:

 

Right click → Inspect

 

Then make sure you tick this option:

 

Now hover over and click on the the form field title. You should see something like this:

 

Now look at the Inspection tool and search, right below, where is highlighted:

You must find something like this:

 

<input name="customFields.raz_o_social" ….

This â€œcustomFields.something_something" is the value you must place in your URL.

 

So, just a recap: 

Grab your form URL, find the variables’ name by inspecting the page then use them on your form URL. 

 

First variable must be placed AFTER a question mark â€œ?"

More variables must be separated by â€œ&"

 

form.link/?variable1=text&variable2=text&variable3=12345.67

Then share the full link ;) 

 

I hope this tutorial helps! 

Cheers! 

View original
Did this topic help you find an answer to your question?

5 replies

tsartori
Forum|alt.badge.img+4
  • Superuser
  • 157 replies
  • September 4, 2021

Hello @will66, at this time you cant do it the way you thinked, but a similar solution is add a single choice field, for the client check his company, and than setup an automation to fill the ID, the name, the address for example.

But its impossible to generate two different forms for the same pipeline.

You can also choose which field the user are able to fill in the form, to avoid miss filling.

Hope I helped, anything else you can text me. :)


ViniBevilacqua
  • New Participant
  • 6 replies
  • Answer
  • December 3, 2021

Hey Will, what’s up?

You can prefill form fields using URL variables, here’s how: 

 

Example: 

If you want to pre-fill the â€œRazão Social" and â€œSaldo disponível para resgate" fields based on a value you decide, you must access the form with theses values set in the form URL. 

Form URL: https://app.pipefy.com/public/form/tWwe5MSn

Variables:

?raz_o_social=teste

&saldo_dispon_vel=12345.67

 

Form URL with variables:

 https://app.pipefy.com/public/form/tWwe5MSn?raz_o_social=teste&saldo_dispon_vel=12345.67

 

This should result on:

 

 

To be able to find out what are the variables’ name, you must inspect your form page link this:

 

Right click → Inspect

 

Then make sure you tick this option:

 

Now hover over and click on the the form field title. You should see something like this:

 

Now look at the Inspection tool and search, right below, where is highlighted:

You must find something like this:

 

<input name="customFields.raz_o_social" ….

This â€œcustomFields.something_something" is the value you must place in your URL.

 

So, just a recap: 

Grab your form URL, find the variables’ name by inspecting the page then use them on your form URL. 

 

First variable must be placed AFTER a question mark â€œ?"

More variables must be separated by â€œ&"

 

form.link/?variable1=text&variable2=text&variable3=12345.67

Then share the full link ;) 

 

I hope this tutorial helps! 

Cheers! 


tiago260
  • New Member
  • 4 replies
  • July 7, 2023

Hello, 

I've just want these pre filled fields by url, get open for editing, is there a way to pre fill by url editable fields?


Leonardo Lucena
Pipefy Staff
Forum|alt.badge.img+1

Hi Tiago! Yes, they are fixed, without the possibility of making them variable so far. ðŸ˜‰


genietim
Forum|alt.badge.img+12
  • Pipefy Legend
  • 412 replies
  • July 15, 2024

Can this also be done with (shared) Phase Forms? I currently cannot achieve it, apparently. Why is that?


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings