Form submission not triggering anything server-side.
I'm working on a contact form that on clicking send should send an email. However after submitting the form I see no activity in chrome devtools network or logs despite having extensive logging within my server side code. I am watching via devtools and
npx wrangler tails.
I do see the INIT log right after its finished deploying.
I suspect its the link between svelte code and typescript code because of the lack of logs.
I am using svelte + typescript.
7 Replies
@Fizzgig
If there is no activity in the devtools network panel, then this doesn't seem like an issue on Cloudflare's side. I would recommend asking Svelte people for support!
Alright cool, thanks!
hey raz, we isolated the issue to ASSETS binding, if we remove the assets binding it works as expected. I saw in another forum that this is only a bug with the free tier and so we are probably going to upgrade
the post in question:
https://community.cloudflare.com/t/console-log-doesnt-work/784364/6
not sure what the timeframe on this is though

Hm, that issue wouldn’t affect why you can’t see any network activity in devtools
You’re sure no request is fired off?
Pretty sure but we can do some more testing
hi raz, you were right. it seems the issue was a conflict between use:enhance and a handleSubmit function on the form button
this issue can be closed
@Skekung