0

CML 言語を使用して CrowdFlower でタスクを設定しようとしています。only-if ロジックで次のエラーが発生し続けます。

contains only-if logic that references a missing field

これがコードです。

<cml:radios label="Is there any spoken text in the first audio or is the audio file empty?" class="" validates="required" instructions="Press the play button to play the audio in the above audio file. If you can't hear any audio please select the second option.">

<cml:radios label="Which option do you believe best answers the question" class="unmodified" only-if="is_there_any_spoken_text_in_the_first_audio_or_is_the_audio_file_empty?:[0]" validates="required"><cml:radio label="First option"/><cml:radio label="Second option"/><cml:radio label="Third option"/><cml:radio label="I would like to hear more options"/></cml:radios>

私は彼らのドキュメントのいたるところを見てきましたが、何も役に立たないようです。

4

1 に答える 1

0

CML は疑問符 ("?") を好まないことがわかりました。ラベルに使用しました

<cml:radios label="Is there any spoken text in the first audio or is the audio file empty?" class="" validates="required" instructions="Press the play button to play the audio in the above audio file. If you can't hear any audio please select the second option.">

削除したら、エラーは発生しなくなりました。

これが誰かに役立つことを願っています。

于 2014-04-19T01:04:43.563 に答える