KSS is in production mode. Setup

Forms

We test the parameter functions related to forms : those functions extract values from fields to use them in the kinetic stylesheet.

The inner HTML of the div below will be replaced with the value of the form element.

Target

currentFormVar() with text field.

Click the text field.

currentFormVar(name) with text field.

Click the button.
Click me !

currentFormVar(kssAttr('name')) with text field.

Click the button.

currentFormVar() with textarea field.

Click the textarea field.

currentFormVar(name) with textarea field.

Click the button.
Click me !

currentFormVar() with radio field.

Click one of the radio buttons.
radio-1 radio-2

currentFormVar(name) with radio field.

Click the button.
Click me ! radio-1 radio-2

currentFormVar(name) with select field.

Click the button.
Click me !

currentFormVar(name) with multiple select field.

Click the button.
Click me !

form(full1) with simple field names, named form

Removed after deprecation.

currentForm() with simple field names

Removed after deprecation.

xxx-kssSubmitForm: form(full2) with complex field names, named form

Click the button.
Click me !

xxx-kssSubmitForm: 'full2' with complex field names, named form, given as string

Click the button.
Click me !

xxx-kssSubmitForm: currentForm() with complex field names

Click the button.
Click me ! Click me !
value1: value2:
listval:
listval with multiselect: recordval:
recordsval: