Using exp:search:simple_form to return data from a Catchall field?
Posted: 23 June 2011 02:06 AM   [ Ignore ]
Wallflower
Rank
Total Posts:  2
Joined  2011-03-21

Does anything special need to be done when using an {exp:search:simple_form} to get data contained in a Catchall field?

The field is set to Searchable but when I search for a word I know appears in one of my fields, the no results message is returned.

This is with ExpressionEngine 2.1.4. We’ll update to ExpressionEngine 2.2.0 within the next few days.

Profile
 
 
Posted: 23 June 2011 08:20 PM   [ Ignore ]   [ # 1 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

Hi, unfortunately the data for the catchall field is serialized and encoded in the database, and is therefore not searchable.

Profile
 
 
Posted: 23 June 2011 11:29 PM   [ Ignore ]   [ # 2 ]
Wallflower
Rank
Total Posts:  2
Joined  2011-03-21

Realized that last night, long after I posted my question.

As a workaround, when the form is submitted we’re using a bit of JavaScript to concatenate and write the Catchall field data into a hidden textarea.

Profile