ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Validating Search Varialbles

August 25, 2010 11:26am

Subscribe [2]
  • #1 / Aug 25, 2010 11:26am

    Unbridled Books

    16 posts

    Hi,

    I’m using Expression Engine 1.67 and trying to use a simple search of the database For the most part it works pretty well.  The only problem is that sometimes users enter the search info with dashes.  When this happens, it doesn’t match up, so I want to strip the dashes from the input before it’s submitted to the search.  I have tried PHP in the form.  I have gotten it to sucessfully strip the dashes.  But I’m having trouble getting it back into the EE seach variable before it posts.

    Any help with this would be greatly appreciated
    Thanks
    ubb

  • #2 / Aug 25, 2010 5:44pm

    Ingmar

    29245 posts

    I am afraid there is nothing built into EE like that. An extension might be an option. Also, upgrading to 1.6.9 is recommended.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases