developer logo

sv:scriptField

This node type is always a child node to a form node (sv:form).

The node is defined as a "Scriptfield" element ("question") in a form portlet.

Node name

Name

Type and description

<script-field-name>

Dynamic / Model dependent


The given name of the script field.

 

Properties

Name

Type and description

customErrorMessage

javax.jcr.PropertyType.STRING

 

An error message that is associated with the field.



description

javax.jcr.PropertyType.STRING


A localized name of the field.



displayName

javax.jcr.PropertyType.STRING

 

An aggregated name of the field (including the name of the node).



id

javax.jcr.PropertyType.STRING

 

Unique identifier that is used as the name attribute in the input tag in when rendering this field.



mandatory

javax.jcr.PropertyType.BOOLEAN

 

Field is mandatory.



name

javax.jcr.PropertyType.STRING

 

A name associated with the field.



question

javax.jcr.PropertyType.STRING

 

A question associated with the field.