Think about Loose Coupling | |
PerlMonks |
Re: Auto completing a form from and to a mysql databaseby Fletch (Bishop) |
on Oct 15, 2020 at 14:03 UTC ( [id://11122860]=note: print w/replies, xml ) | Need Help?? |
This is 95% a client side problem. You'd need to use something like jQuery and javascript on the client to populate things that you get back from the server (e.g. when they've typed your three letters in the Artist field it'd fire off an AJAX request to /api/complete?field=Artist&entry=van which would return a JSON list of everything matching "van" in your DB). Here's a sample mojo implementation that a quick search turned up on SO.
The cake is a lie.
In Section
Seekers of Perl Wisdom
|
|