Questions tagged [search-form]

A search form consists of fields and controls that can be used for filtering and searching various content.

A search form is a form that consists of fields and controls that can be used for filtering and searching various content in order to display the matching search results. It usually accepts a set of keywords or categories or other criteria, which are used for performing database queries to get the matching results.

139 questions
65
votes
6 answers

Rails Unable to convert unpermitted parameters to hash

I am trying to implement a simple search and sort for my webapp. I am following the railscast and this railscast. My application helper for sortable function which I am using as link is: def sortable(column, title = nil) title ||=…
Saurav Prakash
  • 1,177
  • 1
  • 11
  • 25
8
votes
4 answers

Are there good UI patterns for designing search forms with many fields?

I'm having a difficult time finding any resources that describe good UI patterns for large search forms. I have a form that requires 20+ possible inputs and can't come up with a design I feel good about (although in my defense I'm no design expert).…
Kevin Babcock
  • 10,187
  • 19
  • 69
  • 89
8
votes
1 answer

Simple Backbone search page - how would you do it?

I'm want to implement a simple search page using Backbone. It is not a single page application, but still would like to structure my JavaScript code using Backbone. A search page consists of a search form and search results. The search is done via…
Infeligo
  • 11,715
  • 8
  • 38
  • 50
5
votes
1 answer

Customizing Wordpress search form template (Genesis)

I wanted to change my search form a bit by adding autocomplete="off" to the search input. I initially looked for a simple filter like the following: //* Customize search form input box text add_filter( 'genesis_search_text', 'sp_search_text'…
SilverLink
  • 124
  • 2
  • 15
3
votes
2 answers

How do I create an autocomplete search form in rails 3 using rails3-jquery-autocomplete?

I am using this gem: https://github.com/crowdint/rails3-jquery-autocomplete I am having difficulty making the auto-complete work and also to create a simple search. This is what I have in the view: 16 - semantic_form_for vendors_path do |f| …
Satchel
  • 16,414
  • 23
  • 106
  • 192
3
votes
0 answers

Clean Ransack search URL

How do I get a clean URL after searching through a Ransack form? Current…
A.A. F
  • 349
  • 5
  • 16
3
votes
2 answers

WP; Can not enter text into search input field from iOS mobile device

Not sure if anyone has come across this before, it's a new one for me. I'm currently developing a theme that has a search form in the main sidebar which is doubling, in this case, as a header section. The form works well from a computer, even if…
Eric Brockman
  • 824
  • 2
  • 10
  • 37
3
votes
2 answers

Liferay liferay-ui:search-toggle not showing (on search-form)

I'm trying to create a search form for my portlet. The portlet is an addressbook application, all dao and service build with service builder. I would like to give users a basic/advanced search form (like other on liferay, for example on "users and…
2
votes
1 answer

How to add search box to drupal page contents (404 page)

I have a theme where search box is hard to find. Before redesigning it, I'd like to add another, bigger search box to 404 page. The only solution I found is render search block:
xy2
  • 484
  • 2
  • 9
2
votes
1 answer

How to place the search form in the middle of navbar and expand it in Bootstrap 5

I'm using Bootstrap v5.1.3 and I have added a navbar like this: navbar And here is the code for that:
2
votes
1 answer

Search form with ajax and GET

I've a form for searching users in my site (django).
Fred Collins
  • 5,004
  • 14
  • 62
  • 111
2
votes
1 answer

Searchfield based on the data in ReactJS

I'm a newbie in React. I'm creating a little app that has users and I need to create a searchbar that will look for users if I type two or three lettters of users name. But obviously I stuck. So any help will be nice. Thanks in advance import…
Ivan M
  • 147
  • 1
  • 2
  • 8
2
votes
1 answer

How can I on Submit my Form redirect the Results to another Page in React

I am trying to get the search results to display on another page in React Js. For now, when I submit my search form, it will display the results on the same page which I don't want. I have been trying to do this for the past 4 hours (I am new to…
Labelle Doriane
  • 105
  • 1
  • 3
  • 15
2
votes
4 answers

How to filter elements using JavaScript filter?

I'm struggling to get this filter to work properly. I have it set to filter and display only what's searched, based on the card titles (h5). It's filtering the unwanted titles out, but not the rest of the card. To better explain, there's a demo…
Millhorn
  • 2,953
  • 7
  • 39
  • 77
2
votes
1 answer

Yii2 Search filter dropdown with different models

I just used Yii2 for my app. I'm want to create search filter form in index view with attribute from different model for filter active and not active. I've two tables "Employee" and "Contract"..…
1
2 3
9 10