Title: Front end numeric searching?
Last modified: August 21, 2016

---

# Front end numeric searching?

 *  [Billmel](https://wordpress.org/support/users/billmel/)
 * (@billmel)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/front-end-numeric-searching/)
 * I followed the instructions in the other notes section on changing a field from
   tinytext to DECIMAL, with 2,0 giving me values of 1-99. When I do a search on
   the field in the admin for “1”, I get the expected results.
    When I run the same
   search in front end, I get a string search, returning all values with a “1” in
   them. I’m using a custom template, but only to preset the desired value in the
   search box.
 * Mahalo
 * [https://wordpress.org/plugins/participants-database/](https://wordpress.org/plugins/participants-database/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Billmel](https://wordpress.org/support/users/billmel/)
 * (@billmel)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/front-end-numeric-searching/#post-4816377)
 * P.S. I do not have Strict User Searching turned on, since I do not want this 
   for any other searches.
 *  Plugin Author [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/front-end-numeric-searching/#post-4816545)
 * You’ll need to customize your search to do something like this. You can either
   write your own search function or you can use a filter to alter the database 
   query before it is used to generate the search results.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Front end numeric searching?’ is closed to new replies.

 * ![](https://ps.w.org/participants-database/assets/icon-256x256.jpg?rev=1389807)
 * [Participants Database](https://wordpress.org/plugins/participants-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/participants-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/participants-database/)
 * [Active Topics](https://wordpress.org/support/plugin/participants-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/participants-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/participants-database/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Roland Barker](https://wordpress.org/support/users/xnau/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/front-end-numeric-searching/#post-4816545)
 * Status: not resolved