Forum OpenACS Development: Re: XoWiki

52: Re: XoWiki (response to 51)
Posted by Gustaf Neumann on

q1: every form-field-spec in the form constraints is a Tcl list element. therefore use


{mc:select,required,options={yes 1} {no 0}}

q2: There is a but in some tdom versions that convert the given text to

<select name="standards">
<option value="1" selected="selected"></option>1
<option value="2"></option>2
<option value="3"></option>3
which is not displayed. an upgrade of tdom from cvs should help.

q3: unknown variable 'myvar'
The message says, that there are form entries in your database that have this variable not defined. This is most likely due to the fact that you have changed to form after some instances got some values. Most likely, you can deleted some earlier form instances to get rid of the warning message.

oops, i missed q0: examples:
Here are single and multiple choice questions:
some more examples:

i have added the export of the demo examples above to