【发布时间】:2014-08-14 02:27:13
【问题描述】:
我设法使用 iframe(外部问题)将我的外部 html 页面嵌入到 mturk-hit 中。
如果工作人员接受我的 HIT,则生成的 URL 是:
如何从 URL 中获取 assignmentId 以便在我的表单中使用它进行提交?
这是我的表格:
<form name='mturk_form' method='post' id='mturk_form' action='https://workersandbox.mturk.com/mturk/externalSubmit'> <!- For real submit use : https://www.mturk.com/mturk/externalSubmit-->
<input type='hidden' value='' name='assignmentId' id='here the assignmentId from the url should be inserted'/>
<h1>What's up?</h1>
<p><textarea name='comment' cols='80' rows='3'></textarea></p>
<p><input type='submit' id='submitButton' value='Submit' /></p>
</form>
【问题讨论】:
标签: url amazon-web-services mechanicalturk