Skip to content
Sign upLog in
← Back to Community

What does 'not found' mean

Profile icon
[deleted]

Whenever I try to submit a form, (the action is a function) the screen changes and say 'not found' what does this mean?

Voters
Profile icon
sarabendaj
Profile icon
yeochaekyung
Profile icon
ShoshannahOvits
Profile icon
PYer
Comments
hotnewtop
Profile icon
LORENZOGOTTOLI

perche cazzo il mio sito non va?

Profile icon
timmy_i_chen

Form actions aren't JS; they should point to a route that will handle the data:
https://www.w3schools.com/tags/att_form_action.asp

If you want something to happen when they submit, you'll probably want to use onSubmit instead: https://www.w3schools.com/tags/ev_onsubmit.asp

You should join our Repl.it slack to ask these questions, lots of helpful peeps there :) https://discord.gg/346Tapr

Profile icon
[deleted]

@timmy_i_chen Thanks