Zymantics <XML/>

<rapidWeb/>

<bs:radio>

Simple

−
<bs:form content="form" xmlns:bs="http://www.bootstrap-cms.org">
−
<bs:radio name="secur" border="1" rounded="large" padding="2">
−
<bs:option code="unsafe-inline">
<bs:label>unsafe-inline</bs:label>
</bs:option>
[1 lines]
−
<bs:option code="nonce" selected="true">
<bs:label>nonce</bs:label>
</bs:option>
[1 lines]
−
<bs:option code="unsafe-hashes">
<bs:label>unsafe-hashes</bs:label>
</bs:option>
[1 lines]
</bs:radio>
[6 lines]
</bs:form>
[7 lines]

Elaborated

Allow inline @style and events (@onclick)

Allows the use of inline resources, such as inline event handlers, eg. @onclick, inline <script> elements for javascript, and @style and inline <style> elements for CSS.

Add secure dynamic nonce token to allow in-document styles and script

An allow-list for specific inline scripts using a cryptographic nonce (number used once).

The server must generate a unique nonce value each time it transmits a policy.

It is critical to provide an unguessable nonce, as bypassing a resource’s policy is otherwise trivial.

Allow inline styles etc. based on SHA hashing

Allows enabling specific inline event handlers.

If you only need to allow inline event handlers and not inline <script> elements or javascript: URLs, this is a safer method than using the unsafe-inline expression.

−
<bs:form content="form" xmlns:bs="http://www.bootstrap-cms.org">
+
<bs:radio name="security" border="1" rounded="large" padding="2">
+
<bs:option code="unsafe-inline">
<bs:label>unsafe-inline</bs:label>
<bs:help-text>Allow inline @style and events (@onclick)</bs:help-text>
+
<bs:guide class="text-break">
<bs:p>Allows the use of inline resources, such as inline event handlers, eg. @onclick, inline <script> elements for javascript, and @style and inline <style> elements for CSS.</bs:p>
</bs:guide>
[1 lines]
</bs:option>
[4 lines]
+
<bs:option code="nonce" selected="true">
<bs:label>nonce</bs:label>
<bs:help-text>Add secure dynamic nonce token to allow in-document styles and script</bs:help-text>
+
<bs:guide>
<bs:p>An allow-list for specific inline scripts using a cryptographic nonce (number used once).</bs:p>
<bs:p>The server must generate a unique nonce value each time it transmits a policy.</bs:p>
<bs:p>It is critical to provide an unguessable nonce, as bypassing a resource’s policy is otherwise trivial.</bs:p>
</bs:guide>
[3 lines]
</bs:option>
[6 lines]
+
<bs:option code="unsafe-hashes">
<bs:label>unsafe-hashes</bs:label>
<bs:help-text>Allow inline styles etc. based on SHA hashing</bs:help-text>
+
<bs:guide class="text-break">
<bs:p>Allows enabling specific inline event handlers.</bs:p>
<bs:p>If you only need to allow inline event handlers and not inline <script> elements or javascript: URLs, this is a safer method than using the unsafe-inline expression.</bs:p>
</bs:guide>
[2 lines]
</bs:option>
[5 lines]
</bs:radio>
[18 lines]
</bs:form>
[19 lines]

Grid

Subscription *

required: true
datatype: decimal
Annual Subscription
−
<bs:form content="form" xmlns:bs="http://www.bootstrap-cms.org">
−
<bs:radio required="true" datatype="decimal">
<bs:label>Subscription</bs:label>
<bs:placeholder code="0">Choose Subscription</bs:placeholder>
−
<bs:group>
−
<bs:option code="49.50">
−
<bs:label>
<bs:lang code="en">$49.50</bs:lang>
<bs:lang code="da">$49,50</bs:lang>
</bs:label>
[2 lines]
</bs:option>
[3 lines]
−
<bs:option code="99.50">
−
<bs:label>
<bs:lang code="en">$99.50</bs:lang>
<bs:lang code="da">$99,50</bs:lang>
</bs:label>
[2 lines]
</bs:option>
[3 lines]
−
<bs:option code="199.50">
−
<bs:label>
<bs:lang code="en">$199.50</bs:lang>
<bs:lang code="da">$199,50</bs:lang>
</bs:label>
[2 lines]
</bs:option>
[3 lines]
</bs:group>
[12 lines]
<bs:guide>Annual Subscription</bs:guide>
</bs:radio>
[16 lines]
</bs:form>
[17 lines]

Hierarchy

Radio

−
<bs:form content="form" xmlns:bs="http://www.bootstrap-cms.org">
−
<bs:radio name="radio" col="4">
<bs:label>Radio</bs:label>
+
<bs:group>
+
<bs:level>
<bs:title>A</bs:title>
+
<bs:menu>
<bs:return/>
+
<bs:level>
<bs:title>A1</bs:title>
+
<bs:menu>
<bs:return/>
<bs:option code="1">A1-1</bs:option>
<bs:option code="2">A1-2</bs:option>
<bs:option code="3">A1-3</bs:option>
</bs:menu>
[4 lines]
</bs:level>
[6 lines]
+
<bs:level>
<bs:title>A2</bs:title>
+
<bs:menu>
<bs:return/>
+
<bs:group>
<bs:option code="4">A2-1</bs:option>
<bs:option code="5">A2-2</bs:option>
<bs:option code="6">A2-3</bs:option>
</bs:group>
[3 lines]
+
<bs:group>
<bs:option code="7">A3-1</bs:option>
<bs:option code="8">A3-2</bs:option>
<bs:option code="9">A3-3</bs:option>
</bs:group>
[3 lines]
</bs:menu>
[9 lines]
</bs:level>
[11 lines]
</bs:menu>
[20 lines]
</bs:level>
[22 lines]
+
<bs:level>
<bs:title>B</bs:title>
+
<bs:menu>
<bs:return/>
+
<bs:level>
<bs:title>B1</bs:title>
+
<bs:menu>
<bs:return/>
<bs:option code="10">B1-1</bs:option>
<bs:option code="11">B1-2</bs:option>
<bs:option code="12">B1-3</bs:option>
</bs:menu>
[4 lines]
</bs:level>
[6 lines]
+
<bs:level>
<bs:title>B2</bs:title>
+
<bs:menu>
<bs:return/>
<bs:option code="13">B2-1</bs:option>
<bs:option code="14">B2-2</bs:option>
<bs:option code="15">B2-3</bs:option>
</bs:menu>
[4 lines]
</bs:level>
[6 lines]
</bs:menu>
[15 lines]
</bs:level>
[17 lines]
+
<bs:level>
<bs:title>C</bs:title>
+
<bs:menu>
<bs:return/>
+
<bs:level>
<bs:title>C1</bs:title>
+
<bs:menu>
<bs:return/>
<bs:option code="16">C1-1</bs:option>
<bs:option code="17">C1-2</bs:option>
<bs:option code="18">C1-3</bs:option>
</bs:menu>
[4 lines]
</bs:level>
[6 lines]
</bs:menu>
[8 lines]
</bs:level>
[10 lines]
</bs:group>
[52 lines]
</bs:radio>
[54 lines]
</bs:form>
[55 lines]

Buttons

Radio Buttons

−
<bs:form content="form" xmlns:bs="http://www.bootstrap-cms.org">
−
<bs:form content="form">
+
<bs:radio name="radio2" layout="button">
<bs:label>Radio Buttons</bs:label>
<bs:option code="1">Value 1</bs:option>
<bs:option code="2">Value 2</bs:option>
</bs:radio>
[3 lines]
</bs:form>
[4 lines]
</bs:form>
[5 lines]

Open Radio

−
<bs:radio name="security" border="1" rounded="large" padding="2" xmlns:bs="http://www.bootstrap-cms.org">
−
<bs:option code="unsafe-inline">
<bs:label>unsafe-inline</bs:label>
</bs:option>
[1 lines]
−
<bs:option code="nonce" selected="true">
<bs:label>nonce</bs:label>
</bs:option>
[1 lines]
−
<bs:option code="unsafe-hashes">
<bs:label>unsafe-hashes</bs:label>
</bs:option>
[1 lines]
<bs:input/>
</bs:radio>
[7 lines]

Key Attributes

AttributeValuePurposeExample
@namexs:stringData bindingD_VALUE
@valuexs:stringdefault load value
@placeholderxs:stringplaceholder
@tooltipxs:stringtooltip
@outer-classxs:stringadd outer class
@inner-classxs:stringadd inner class
@outer-stylexs:stringset outer style
@inner-stylexs:stringset inner style




Oops

Your browser is not supported

A modern browser with Javascript ES6 is required

Any major browser from 2015 onwards will be suitable