XForms/Search with Load

Motivation
You want to build a web form that does a search using the xf:load element. This allows you to rewrite the URL to the search application.

Source Code
     Example of XForms Search with xf:load  Enter search string:        Execute Search</xf:label> <xf:action ev:event="DOMActivate"> <xf:load show="replace"> <xf:resource value="concat(url, q)"/> </xf:load> </xf:action> </xf:trigger>

Discussion
Note that you must use the xf:value attribute of the resource element.