是否可以在同一任务中使用 <crowd-classifier-multi-select> 和 <crowd-input> ?

问题描述

在下面,我尝试使用 .将该行放在块内使其不显示,并将其放在外面,就像下面的代码一样,使它位于“提交”按钮之后。

<!-<!-- You must include this JavaScript file -->
<script src="https://assets.crowd.aws/crowd-html-elements.js"></script>

<!-- For the full list of available Crowd HTML Elements and their input/output documentation,please refer to https://docs.aws.amazon.com/sagemaker/latest/dg/sms-ui-template-reference.html -->

<!-- You must include crowd-form so that your task submits answers to MTurk -->
<crowd-form answer-format="flatten-objects">
    <!-- The crowd-classifier element will create a tool for the Worker to select the
           correct answer to your question -->
    <crowd-classifier-multi-select
      name="category"
      categories="['Positive','Negative','Neutral']"
      header="Select the relevant categories"
      exclusion-category="{ text: 'None of the above' }"
    >
        <!-- The text you want classified will be substituted for the "text" variable when
               you publish a batch with a CSV input file containing multiple text items  -->
        <classification-target> ${text} </classification-target>
        
            
        <!-- Use the short-instructions section for quick instructions that the Worker
              will see while working on the task. Including some basic examples of 
              good and bad answers here can help get good results. You can include 
              any HTML here. -->
        <short-instructions>
            <p> Please evaluate the possible feelings one might have after reading the content. 
            When considering the emotional responses,please consider not just your specific affective 
            response,but the set of affective responses that the population in general 
            might have towards the text. The list of affective responses include several 
            non-standard “emotions” so please review the entire list before proceeding.</p>
        </short-instructions>

        <!-- Use the full-instructions section for more detailed instructions that the 
              Worker can open while working on the task. Including more detailed 
              instructions and additional examples of good and bad answers here can
              help get good results. You can include any HTML here. -->
        <full-instructions header="Emotion Detection Instructions">
            <p>Select the <strong>primary</strong> emotion that's expressed in the audio clip.</p>
            <p>
              If there are multiple emotions expressed,use your judgement and 
              choose the one that's is the strongest of the emotions.
            </p>
        </full-instructions>
        
    </crowd-classifier-multi-select>

    <p>Include the http:// prefix from the website</p>
    <crowd-input name="website" placeholder="http://example.com" required></crowd-input>
</crowd-form>

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)