The Community will be temporarily unavailable starting on Friday February 28. We’ll be back as soon as we can! To learn more, check out our Announcements blog post.
Hello.
I’m having some issues with a website i’m making.
Would it be possible for anyone to give me a quick guide on how i’d make an HTML button that’ll submit some data from boxes?
I already have this code below, but it seems it’ll only recognize r...
Hello guys.
I thought this would be a good place to get help. Please read here:
support.glitch .com/t/airtable-database-issues-javascript-project-hoggystyle/13795/10
Please delete the dot in front of .com
Hmm i think i found something. What if i turn the above into a function, and leave it on server-side, and then do this:
https_://stackoverflow._com/questions/43597543/how-to-call-server-side-function-from-html-button-not-in-a-form-using-expressj
Plea...
But this seems like an awfully complicated way to do this?
This code below is enough to create data and send it to my server.
var Airtable = require(‘airtable’);
var base = new Airtable({apiKey: process.env.API_KEY}).base(process.env.BASE.ID);
base(‘...
I only just began working with databases yesterday, and i also recently began learning javascript. I’m very newbie, so i have to slowly learn all this :slightly_smiling_face:
Hmm is it possible to just copy this code, and then replace the get with post? (And then of course fix the variables to the form instead.)
app.get("/data", function(_, response) {
if (cachedResponse && new Date() - cachedResponseDate < cacheTimeoutMs...
The code above is just the code i need to run. How i actually try is like this:
function submitData(base, Airtable) {
event.preventDefault()
var Airtable = require(‘airtable’);
var base = new Airtable({apiKey: process.env.AIRTABLE_API_KEY}).base(proc...