Url parameter in form filling
Hello guys, is there a way to ass parameter urls in form filling process?
#❓┊help
5 Replies
You should provide a bit more information.
Form filling is just
$this->form->fill([])
. If you want to pass an url that would be something like thios $this->form->fill(['url' => $url])
?Maybe I did't not explaom well what I want.
I want to automaticly fill the url paramenter when the user is filling form.
For example: I filled the name in a form, so the url will have ?name=...
Yep. Then my answer stays the same. You already should have
$this->form->fill([])
for your form, then you just need to add some state for "url".So I should inject through javascript manually the fields to the url while typing?
Oh, I didn't understand that you want that on the client side. Yeah, you probably need some custom JS for that.