close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

How does search work with X an Y variable?

Thread began 8/18/2010 3:32 am by htm2112 | Last modified 8/18/2010 10:43 am by htm2112 | 520 views | 1 replies

Jason ByrnesWebAssist

the x and y variables are created when you use an image input type for a submit button:

<input type="image" name="Search" id="Search" value="Search" alt="Search" src="WA_DataAssist/images/Nautica/Modular_search.gif"  />

In some browsers, the value of image input type is not passed, instead the x and y coordinates of where the mouse clicked the image are passed.

When an image input type is used, the trigger for the search will be set to use the $_GET['Search_x'] variable so that the search will work correctly in all browsers.

To trigger the search to occur when a selection is made from the category list, you will need to use javascript on the onchange event of the list.

You will also need to modify the search server behaviors trigger.

On the results page, open the bindings panel. Click the plus button and select Form Data. Inthe form data dialog, click the folder icon and select the search form.

this will bring in the search form elements to the results page bindings panel.

Now open the server behaviors panel and Double Click the Data Assist Search behavior.

click the lightning bolt next to Trigger and select the S_ItemCatID form element so the search will be triggered by the select list.

Now on the search page, change the select list tag:

<select id="S_ItemCatID" name="S_ItemCatID">


<select id="S_ItemCatID" name="S_ItemCatID" onchange="documet.WADASearchForm.submit();">

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...