Tipue

Knowledge Base

HOW TO INCLUDE CHECKBOXES AND RADIO BUTTONS

Applies to: Tipue JS


To include checkboxes, radio buttons or other form elements you need some additional JavaScript. Below are two examples of how to add functionality to the standard Tipue JS form.


EXAMPLE 1

Suppose you have two seperate data files and you want to have a single form where the user selects which search to use. The obvious solution would be a pair of radio button controls.

Use JavaScript similar to that below. It should be included in the Head section of your HTML page.

And the revised form:


EXAMPLE 2

Suppose you want to make it simple for your users to filter certain results from your search. A checkbox would be the obvious choice.

Include JavaScript similar to that below. Again, it should be included in the Head section of your HTML page.

And the revised form:


Apple Store

Tipue feed

|  Tipue Copyright (c) 2002 - 2008 Tri-State Consultants  |  Blog  |  Service Terms