Skip to content

Instantly share code, notes, and snippets.

View Shubhamxshah's full-sized avatar

shubham shah Shubhamxshah

View GitHub Profile
Deep Dive: Form Builder Code Generation Issues
Let me explain exactly what's wrong with your form builder's code generator.
What You're Inputting (Each Step)
Here's what you're providing to the form builder for Step 0: Create Channel:
const formData = event.data.eventData?.formData?.step1;
console.log('Step 0: Creating Channel');
sepal.length sepal.width petal.length petal.width variety
5.1 3.5 1.4 .2 Setosa
4.9 3 1.4 .2 Setosa
4.7 3.2 1.3 .2 Setosa
4.6 3.1 1.5 .2 Setosa
5 3.6 1.4 .2 Setosa
5.4 3.9 1.7 .4 Setosa
4.6 3.4 1.4 .3 Setosa
5 3.4 1.5 .2 Setosa
4.4 2.9 1.4 .2 Setosa