Navigation:  Customizing Web Pages > Editing a Web Design > Editing HTML Code >

Tags In Search Form Code

Print this Topic Previous pageReturn to chapter overviewNext page

 

Topic Level: Advanced Web Design

 

Category Pages > Search Form Segment

This topic contains a list of all of the tags used in the Search Form code segment.

 

All tags should be switched on/off via the Search tab.  The Search Form segment includes all of the fields in this list. You can move these tags along with their styles by selecting everything from the Begin to End line.  Do not delete the ones you are not using. Simply move them to the bottom of the search segment.

 

Note: Older web designs may not have the code for all fields (pre Jade 5.5.3).  If your customized web design does not have the code for a field, you can either, load Jade's latest version of the search form code or, you can edit the search form code manually.

 

To load the latest version of the search form code:

Open your web design. From the View menu, select Jade HTML code.
On the left, select Category pages > Search form.
From the Tag menu, select 'Revert to original'.

 

If you want to insert the code for the new field(s) manually, see the example below for how to use the search tags in code.

 

{search.id.label}

{search.id.field}

{search.market.label}

{search.market.field}

{search.location.label}

{search.minprice.label}

{search.minprice.field}

{search.maxprice.label}

{search.maxprice.field}

{search.minbeds.label}

{search.minbeds.field}

{search.minbaths.label}

{search.minbaths.field}

{search.minplotarea.label}

{search.minplotarea.field}

{search.minfloorarea.label}

{search.minfloorarea.field}

{search.mingarages.label}

{search.mingarages.field}

{search.type.label}

{search.type.field}

{search.age.label}

{search.age.field}

{search.street.label}

{search.street.field}

{search.town-city.label}

{search.town-city.field}

{search.county-state.label}

{search.county-state.field}

{search.country.label}

{search.country.field}

{search.zip-postcode.label}

{search.zip-postcode.field}

{search.custom1.label}

{search.custom1.field}

{search.custom2.label}

{search.custom2.field}

{search.custom3.label}

{search.custom3.field}

{search.custom4.label}

{search.custom4.field}

{search.custom5.label}

{search.custom5.field}

{search.custom6.label}

{search.custom6.field}

{search.custom7.label}

{search.custom7.field}

{search.custom8.label}

{search.custom8.field}

{search.custom9.label}

{search.custom9.field}

{search.custom10.label}

{search.custom10.field}

{search.sort.label}

{search.sort.field}

 

Example code in the default web design:

<!-- BeginSearch_age -->

<tr><td><span class="search_label">{search.age.label}</span><br />

{search.age.field}</td></tr>

<!-- EndSearch_age -->

 

 

 


Page url: http://www.jadetools.com/jps/user_manual/HTML/index.html?tagsforsearchform.htm