OptionBox

Top  Previous  Next

  <span mo:name="${fieldName}" mo:type="OptionBox" mo:value="${value}"
       mo:props="warnColor:'${warnColor}', nonBlank:${nonBlank},
                 valHandler:${valHandler}, valErrorHandler:${valErrorHandler}">
 
    <input type="radio" value="M" /> Male <br/>
    <input type="radio" value="F" /> Female
  </span>

 

${fieldName}

The name of the ProcessField

${value}

The initial value of the field

${warnColor}

The color code to use to highlight the background of the OptionBox along with a warning message such as "Field cannot be blank"

${nonBlank}

If "true" then the field cannot be left blank

${valHandler}

The name of the validation handler function

${valErrorHandler}

The name of the validation error handler function

 

Required Javascript(s)

  <head> 
    <script type="text/javascript" src="moremotion/face/Process/OptionBox.js"></script>
  </head>