forums::form::search (public)

 forums::form::search [ -prefix prefix ] form_name

Defined in packages/forums/tcl/form-procs.tcl

Constructs the elements of a form for searching for a term optionally in a particular forum

Switches:
-prefix (optional)
Parameters:
form_name (required)

Testcases:
web_forum_view, web_forum_edit, web_forums_message_and_reply
Source code:
  template::element create $form_name ${prefix}search_text  -label [_ forums.Search_1]  -datatype text  -widget text

  template::element create $form_name ${prefix}forum_id  -label [_ forums.ForumID]  -datatype text  -widget hidden  -optional
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: