© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4w ago•
3 replies
snails.exe

Finding ID on connected table to insert row? (React.js)

🟡javascript
so this is my structure right now (just showing the important rows).

Currently I'm trying to insert data via a form using html/react.js. I'm trying to allow the user to insert a new song, but being able to type the name of the album, and then on the back end use the name to find the albumID and insert the row. TBH I'm not sure where I'm going wrong, currently when i log to console on line 33 it's just returning "undefined" for both values T_T
Screenshot_2026-01-13_115820.png
Screenshot_2026-01-13_120258.png
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Create new table on row insert
SupabaseSSupabase / help-and-questions
4y ago
Unable to insert based on user_id
SupabaseSSupabase / help-and-questions
4y ago
Row level security and data insert with react native
SupabaseSSupabase / help-and-questions
4y ago
RLS on INSERT with linking table
SupabaseSSupabase / help-and-questions
4y ago