Author Topic: Searchable city field  (Read 232 times)

Milan

  • Confirmed Member
  • **
  • Posts: 13
  • Karma: +0/-0
Searchable city field
« on: March 05, 2019, 03:27:16 AM »
Hello!
I need some help.  I maked "city" field in the profile site.(text field) But i want make it will searchable . Can someone help?
Thank you!

maverick

  • Administrator
  • Veteran Member
  • *****
  • Posts: 3139
  • Karma: +211/-7
    • Maverick Webworks
Re: Searchable city field
« Reply #1 on: March 08, 2019, 12:30:07 AM »
"Textfields" and "Textareas" fields aren't searchable fields. Only "Multi Checks" and "Select Box" fields can be included in the advanced and basic searches.

The reason is because only fields with predefined values that can be selected can be included in searches. Textfields and Textareas aren't fields that can be selected and instead are keyword based which would require complex programming to make it searchable. The problem with making a Textfield or Textarea  field searchable, if very few members fill out this field or if not enough different cities have been entered then when people did a search they may constantly get a "No Results Found" message, which would not only be annoying, but also make your site appear inadequate.

Fusion Responsive Template & Free Mods
http://www.maverickwebworks.com
DO NOT PM me asking for personal help. Post your problem or request in the forums so the entire community can contribute and benefit.