How do I submit a form automatically?
I'm implementing a function to bind tenants.
1. I want to execute the bind function directly when the url contains
/bind?code=abc
2. render a page for the user to enter the code when it doesn't exist.
What should I do?
I tried to do this, but I don't know how the form should be submitted automatically.
1 Reply
I tried this and it auto-submits the form, but I'm not sure if it's elegant.