How to fix choices field in a smartform

  • Updated

If you create a Smart Form configuration, and insert a Choices field using the following values (see Item List box), an error appears and you cannot create the content.

Choices Field

Here is the error.

No Error 2

The following workaround lets you use a choices field in a Smart Form configuration so that you can use 'Yes' with value of 'True,' or 'No' with value of 'False'. (This issue will be fixed in a later release.)

  1. Make a backup copy of Workarea/ContentDesigner/ektron.smartForm.js.
  2. Comment out the first occurrence of:
   Ektron.SmartForm.setValue(oElem, Ektron.SmartForm.getValue(oElem));