Sandbox2: Difference between revisions

From Opasnet
Jump to navigation Jump to search
No edit summary
 
(19 intermediate revisions by 6 users not shown)
Line 1: Line 1:
JEP
[[Category:Sandbox]]
=== Spatial test ===


<w4g_ratingbar style="stars"/>
 
<rcode name='spatial_test' embed=1 variables="
name:location|description:Your location|type:location|
name:selection|description:Just a selection|type:selection|options:1;1;2;2;3;3
">
 
location
selection
 
</rcode>
 
=== Dynamic variable categories test ===
 
<rcode embed=1 name='cond_test' variables="
name:sel1|description:Select type|type:selection|options:;- select -;'fruits';Fruits;'cars';Cars;'fruits_and_cars';Fruits and Cars|
name:sel2|description:Select fruits|type:checkbox|options:'banana';Banana;'orange';Orange;'pineapple';Pineapple|category:Fruits|category_conditions:sel1;'fruits';'fruits_and_cars'|
name:sel3|description:Select cars|type:checkbox|options:'porsche';Porsche;'ferrari';Ferrari;'lamborghini';Lamborghini|category:Cars|category_conditions:sel1;'cars';'fruits_and_cars'">
sel1
sel2
sel3
</rcode>

Latest revision as of 07:49, 23 September 2015

Spatial test

Your location:

Just a selection:

+ Show code

Dynamic variable categories test

Select type:

Fruits

Select fruits:
Banana
Orange
Pineapple

Cars

Select cars:
Porsche
Ferrari
Lamborghini

+ Show code