im a newbie, why is that my Text Fields widget wrapped in Form Validation not sending data that user type in to Supabase table. Only 'date created' column has data in it. All other text fields that user filled in not recorded in the same row. I am not using any built in Supabase authentication.
Text Field widget wrapped in Form Validation not sending data to Supabase.
Open your Page.
Go to Page Variables (small "stacked layers" icon usually in top-left).
(small icon that looks like layers ๐)Click "+ Add Variable".
Create a new variable:
Name:
name
Type:
String
Initial Value: leave empty.
Now, go back to your Name TextField.
In Initial Value, click Set from Variable โ
Choose Page Parameters โ name.
โ Done!
โ
Now when user types, it saves into the name
page variable.
โ
When you insert into Supabase, map name
โ this variable.
๐ Why is this happening?
Situation
Result
You manually added TextField
FlutterFlow doesn't auto-create Variable
No Variable
Can't find in Widget State
Manual fix
Add Page Variable yourself
๐ Summary:
โ Email and Organization already managed by FlutterFlow.
โ Name missing because no variable was created automatically.
๐ฅ Fix: Create Page Variable manually โ
name
โ String.
๐ฃ Very Important:
After creating the page variable, when doing Supabase Insert action:
map
name
column โname
page variable,map
email
column โ EmailField.text,map
organization
column โ OrganizationField.text.