Category Archives: Form (Spark)

Setting a bitmap image fill on a Spark Form container in Flex Hero

In a previous example, “Setting a bitmap image fill on a Spark FormHeading control in Flex Hero”, we saw how you could set a bitmap image fill on a Spark FormHeading control in Flex Hero by creating a custom FormHeading skin and creating a repeating BitmapFill object.

The following example shows how you can set a bitmap image fill on a Spark Form control in Flex Hero by creating a custom Spark Form skin and creating a repeating BitmapFill object.

Continue reading Setting a bitmap image fill on a Spark Form container in Flex Hero

Styling the error indicator on a Spark FomItem container in Flex Hero

In a previous example, “Displaying the error indicator on a Spark FormItem container in Flex Hero”, we saw how you could display the error indicator on a Spark FormItem container in Flex Hero by setting the errorString property or using the Flex validators.

The following example shows how you can style the error indicator on a Spark FormItem container in Flex Hero by setting the errorIndicatorSource style.

Continue reading Styling the error indicator on a Spark FomItem container in Flex Hero

Styling the required indicator on a Spark FomItem container in Flex Hero

In a previous example, “Setting the required indicator on a Spark FomItem container in Flex Hero”, we saw how you could set the required indicator on a Spark FormItem container in Flex Hero by setting the required property.

The following example shows how you can set the required indicator icon source on a Spark FormItem container in Flex Hero by setting the requiredIndicatorSource style.

Continue reading Styling the required indicator on a Spark FomItem container in Flex Hero

Creating a stacked Spark Form container in Flex Hero

The following example shows how you can create a stacked Spark Form, FormHeading, and FormItem in Spark Hero by setting a the skinClass to the StackedFormSkin, StackedFormHeadingSkin, and StackedFormItem skins respectively.

Continue reading Creating a stacked Spark Form container in Flex Hero

Styling the sequence label on a Spark FormItem container in Flex Hero

In a previous example, “Setting the sequence label on a Spark FormItem container in Flex Hero”, we saw how you could set a sequence label on a Spark FormItem container in Flex Hero by setting the sequenceLabel property.

The following example shows how you can style the Spark FormItem container in Flex Hero by styling the FormItem container’s sequenceLabelDisplay skin part.

Continue reading Styling the sequence label on a Spark FormItem container in Flex Hero