LJ-Poll Tag

The  tag and others that are associated with it allow you to manually create Polls. You may also be interested in the Poll Generator.

= lj-poll = This tag starts and ends a Poll.  [ Contents of Poll ]  It also has some optional attributes:

name
Include a name for your Poll. 

whovote
Declare who can vote in your Poll. Default value is. 

Valid values include:
 * all
 * friends

whoview
Declare who can view the results of your Poll. Default value is. 

Valid values include:
 * all
 * friends
 * none

= lj-pq = This tag creates a "Poll Question."   [ Contents of Poll Question ]   It also has some optional attributes:

type
Declare the type of Poll Question. Default value is. 

Valid values include:

check
This is a checkbox. 

drop
This is a selectbox/pull-down menu. 

radio
This is a radio button. 

scale
This is a scale. 

It also has required attributes:

from
This is the beginning of the scale. 

to
This is the end of the scale. 

by
This is the interval of the scale. <lj-pq type="scale" by="1">

text
This is a text input box. <lj-pq type="text">

It also has optional attributes:

size
This is the size of the input box. The value can be between  and   characters. <lj-pq type="text" size="20">

maxlength
This is the maximum length of characters for the input box. The value can be between  and   characters. <lj-pq type="text" maxlength="20">

= lj-pi = This tag creates a "Poll Item."  <lj-pq type="check"> <lj-pi>Poll Item text.</lj-pi> </lj-pq> </lj-poll>

Text Poll Questions do not have Poll Items.

check
This creates a checkbox item. <lj-pi>I am a checkbox.</lj-pi>

The HTML output will look similar to: I am a checkbox.

drop
This creates a selectable item. <lj-pi>I am a selectable item.</lj-pi>

The HTML output will look similar to: I am a selectable item.

radio
This creates a radio button item. <lj-pi>I am a radio button.</lj-pi>

The HTML output will look similar to: I am a radio button.

scale
This creates a scale item. <lj-pi>Are scales neat?</lj-pi>

The HTML output will look similar to: Are scales neat?