ossp-pkg/tabea/test/hash.txt
item {
name street
visible "Street Address:"
type text
}
{'street' => { 'name' => 'street',
'visible' => 'Street Address',
'type' => 'text'}
item {
name city
visible "Postal City code:"
type text[16][16]
}
{'city' => { 'name' => 'city',
'visible' => 'Postal City Code:',
'type' => 'text[16][16]'}
item {
name zip
visible "Zip Code:"
type text[10][10]
value {
name "99999-9999"
}
}
{'zip' => { 'name' => 'zip',
'visible' => 'Zip Code:',
'type' => 'text[16][16],
'value' => '99999-9999'}
item {
name login
visible "Name:"
type text
}
{'login' => { 'name' => 'login',
'visible' => 'Name:',
'type' => 'text'}
item {
name passwd
visible "Password:"
type password
}
{'passwd' => { 'name' => 'passwd',
'visible' => 'Password:',
'type' => 'password'}
item {
name flavor
visible "What flavors do you like?"
type checkbox
value {
name vanilla
visible "Vanilla"
checked
}
value {
name strawberry
visible "Strawberry"
}
value {
name chocolate
visible "Chocolate"
checked
}
}
{ 'flavor' => { 'name' => 'flavor',
'visible' => 'What flavor do you like?',
'type' => 'checkbox',
'value' => 'vanilla',
'value' => 'strawberry',
'value' => 'chocolate'}
{ 'vanilla' => { 'name' => 'vanilla',
'visible' => 'Vanilla',
'checked' => }
{ 'strawberry' => { 'name' => 'strawberry',
'visible' => 'Strawberry' }
{ 'chocolate' => { 'name' => 'choclate',
'visible' => 'Chocolate' }
item {
name flavor
visible "Which is your favorite?"
type radio
value {
name vanilla
visible "Vanilla"
checked
}
value {
name strawberry
visible "Strawberry"
}
value {
name chocolate
visible "Chocolate"
}
}
{ 'flavor' => { 'name' => 'flavor',
'visible' => 'Which is your favorite?',
'type' => 'radio',
'value' => 'vanilla',
'value' => 'strawberry',
'value' => 'chocolate'}
{ 'vanilla' => { 'name' => 'vanilla',
'visible' => 'Vanilla',
'checked' => }
{ 'strawberry' => { 'name' => 'strawberry',
'visible' => 'Strawberry' }
{ 'chocolate' => { 'name' => 'choclate',
'visible' => 'Chocolate' }
item {
name point
visible "Choose a point on the map:"
type image
value {
name "map.gif"
}
}
{ 'point' => { 'name' => 'point',
'visible' => 'Choose a point on the map:',
'type' => 'image',
'value' => 'map.gif'}
{ 'map.gif' => { 'name' => 'mag.gif' }
item {
name recipient
type submit
value {
name internal
}
value {
name world
}
}
{ 'recipient' => { 'name' => 'recipient',
'type' => 'submit,
'value' => 'internal',
'value' => 'world'}
{ 'internal' => { 'name' => 'internal' }
{ 'world' => { 'name' => 'world' }
item {
description "You may clear the form and start over at any time:"
type reset
}
{ ???? => { 'description' => 'You may clear the form and start over at any time:',
'type' => 'reset'}
item {
name flavor
type select[2] //or type selectmultipe[2]
value {
name "Vanilla"
}
value {
name "Strawberry"
}
value {
name RumRasin
visible "Rum and Raisin"
}
value {
name "Peach and Orange"
selected
}
}
{ 'flavor' => { 'name' => 'flavor',
'type' => 'select[2]',
'value' => 'Vanilla',
'value' => 'Strawberry',
'value' => 'RumRasin',
'value' => 'Peach and Orange'}
{ 'value' => { 'name' => 'Vanilla'}
{ 'value' => { 'name' => 'Strawberry'}
{ 'value' => { 'name' => 'RumRasin',
'visible' => 'Rum and Raisin'}
{ 'value' => { 'name' => 'Reach and Orange',
'selected'=> }
item {
name "address"
type textarea[64][6]
value {
name "HaL Computer Systems\n1315 Dell Avenue\nCampbell, California 95008"
}
}
{ 'address' => { 'name' => 'address',
'type' => 'textarea[64][6]',
'value' => 'HaL Computer Systems\n1315 Dell Avenue\nCampbell, California
95008'}
{ 'HaL Computer Systems\n1315 Dell Avenue\nCampbell, California 95008' => { 'name' => 'HaL Computer
Systems\n1315 Dell Avenue\nCampbell, California 95008}