How do you get a DataTables table Search input field to autofill with a parameter passed in a URL?

How do you get a DataTables table Search input field to autofill with a parameter passed in a URL?

rmeetinrmeetin Posts: 109Questions: 28Answers: 2

I have a page which builds a page with a column like this:

<td><a href='/bin/users?phone={{ $customerPhone }}' target='_new'>{{ $customerLabel }}</a></td>

It correctly passes the phone argument to the users page as seen in the URL:

https://devel.mysite.com/bin/users?phone=303-000-0000

How do we make this autofill the DateTables Editor table Search input field so that it limits the results to the user with that phone number, 303-000-0000?

Answers

Sign In or Register to comment.