Oct 12, 2022 10:27 PM
We have the requirement as explained below. I would like to understand how it can be achieved in airtable? The steps are as follow.
The challenges in above approach is as flollow:
Apart from this, Let’s say we are on form-1 and clicked on generate data button. So, is it possible to display responses got from custom script/API on same airtable form?
Please suggest your thought on above questions. It would be very helpful.
Oct 13, 2022 03:27 AM
That is not possible to do natively with Airtable’s forms, but there are several workarounds to make that happen. Here are a few ideas:
You can use an Airtable automation to automatically email the prefill link for the 2nd form to the person after they submit the 1st form.
You can use JotForm to automatically redirect to the 2nd form (and have JotForm send your submissions into Airtable): How to populate second form based on first form's data
Airtable forms can redirect to one predefined link that can include only one dynamic parameter: the record ID of the record that was just submitted. So you can redirect the person to a webhook in Make that includes the record ID, have Make calculate the prefill link, and then redirect the person to the 2nd form by using a custom webhook response that redirects the user: Webhook Documentation
It’s possible that the new On2Air: Forms might have this functionality built into it. @Hannah_Wiginton?
Oct 13, 2022 07:52 AM
While we do have Subforms in the new On2Air Forms (you can add a form inside of a form), it’s not quite possible to do exactly what you’re wanting to do because it would take time for the script to run to generate the prefill values. So, you couldn’t link to new form yet since values won’t be available on the first form submission.
You could do what @ScottWorld suggested as his #1 workaround. Once the first form is submitted and runs the script, then have an Airtable automation that sends an email with link to second form to fill out that can have the prefills in the link. (We also have an easy-to-use prefills setting in our app)
The new On2Air Forms app is in beta right now and we’re looking for feedback and testing on it. You can sign up here - On2Air Forms Beta Access Request
Oct 20, 2022 10:40 PM
Thank you for your reply Scott. I was also thinking to implement using option #1. I am looking for free services which allow me to implement this flow.
I have another question, Is it possible to have only single form where i can click on “Generate Data” button. And then, person will be redirected to same form but wilth prefilled values. Keep in mind, when i click generate data it will call 2-3 external API which w’ll use for pre filling.
Coming to option#3, we can pass record_id dynamically using Redirect to URL option. But basically, how to prepare form-2 link just like prefill_FIELD=value.
Oct 20, 2022 11:46 PM
It doesn’t make a difference whether you use 1 form or 2 forms… the same exact process would be necessary.
Whether you use #1 or #3, you’ll need to create your own prefill formula field in Airtable. If you’re having difficulty creating your own prefill formula, I would check out @kuovonne’s Prefilled Forms extension: