How to create a search form

Plugin need to be activate for this: ResalesOnline Webkit

Necessary codes


[property_searchform ]

[ps_field field="ref" ]

[/property_searchform]


where,
property_searchform is opening and closing tags.
action is page destination where you want to redirect after submit button pressed.
ps_field is to generate fields of search form
field="" is for specifically define what field need to be called.

Output of above code is,

Following fields can be insert in search form

field=”xxx”

so xxx can be replaced by followings,
ref
status
location
type
price_min
price_max
bedrooms
bathrooms
order
submit
reset

What other things we can insert in field tag


can insert label and class in field tag.

For example:

[ps_field field="ref" label="Reference" class="ref"]

Where
label is a text which is pre written on field and class is to apply CSS for that specific field.


Output of above code is,

Now combining everything mention above to generate a search form




Print Friendly, PDF & Email