Help

Re: Automatically submit form? (prefilled by URL)

3801 1
cancel
Showing results for 
Search instead for 
Did you mean: 
Nathans
6 - Interface Innovator
6 - Interface Innovator

Is it possible to automatically submit a form?
I’m creating a series of links that have the form input prefilled. Each can take me to the form with the info I want ready and waiting (which is terrific).
At that point I have to click Submit.
I’m using this for class attendance, so it’s a quick rundown of 25 entries at a time. It would be ideal to load the prefilled URL and have that submit automatically. Is that possible?

TIA,
Nathan

22 Replies 22

I believe this should be fairly easy. Unfortunately I don’t have time at the moment to test and offer more specific guidance, but my gut says that it would be setup as a webhook trigger in Zapier, with the second step in the zap set to feed the webhook data into Airtable. I don’t believe that JS needs to come into play at all.

How would his custom web app call Zapier’s webhook without issuing a javascript ajax call of some sort?

I use webhooks in Integromat, and it’s just a URL that I can call via a hyperlink that I build in a formula field in Airtable. Clicking the URL forces a new tab in my browser to open, I see the webhook result (“Approved”) as the only output in an otherwise empty tab, and I have to manually return to Airtable (tab or standalone app). In the end, I’m using the webhook feature of Integromat, but not typical webhook behavior where it all happens under the hood, and I suppose that’s where JS typically comes into play, so perhaps I misspoke.

In my case, it’s part of my invoicing system, and the browser switch doesn’t bother me because I’m not clicking lots of these links in quick succession. In the situation that @Nathans described, where the desire it to use links to mark someone’s attendance status, all the tab switching would likely make the system quite cumbersome. In that case, JS would definitely be advisable to keep the usage clean.

No - you didn’t misspeak. Backstory… he wants to eliminate steps and his “link options” are already presented in his web page, so I was thinking - instead of the links on his webpage calling out to the Airtable web form, why not simply use the onClick() event handler to call direct to the Integromat webhook to post the data? This would be vastly easier than building the complete API interface in javascript.

But won’t that open a new tab like my setup does? Or is there a way to make the call under the hood? My Javascript knowledge is rudimentary at best. I played with it a bit many years ago, then stopped for a long time, and only recently have been getting reacquainted with it.

No. If you use JQuery (or any Ajax method) of performing a POST over HTTP, it’s all silently executed. Ideally, the POST to Integromat would wait for a response (in the call-back) and display success or failure.

I’m only suggesting this to @Nathans because (a) he already has a web page, (b) he has all the data he wants to post into Airtable (in the web page), and ( c ) he doesn’t have a lot of API skills. This would be the simplest approach I could envision that would remove the extra form step from the process and provide a chummy way to manage the throughput of the data to Airtable.

Ezeh_Uche
5 - Automation Enthusiast
5 - Automation Enthusiast

Hi @Nathans, check out https://beenform.co. I think it’s the solution to what you’re looking for.

@Justin_Barrett and @Bill.French - your exchange sparked a few things for me. I also discovered Airtable’s gallery view. I think that might be able to create the visual layout there that I’m looking for and create the new “check-ins” that way. I don’t have it all figured out yet, but if that works, it could all be done within Airtable. I’ll post again as soon as I can get a few minutes to see if it’ll work.

Thanks! I just mentioned in another reply that I might have figured out how to do this within Airtable. If not, I will check out beenform.co - looks cool. I would love to avoid paying another monthly fee if possible, and I’d definitely be out of their free plan range, so fingers crossed for the Airtable approach.

Even better! …