Closed owenstrevor closed 9 years ago
Update: This makes no sense. I passed the params on my local server and the form helper generated the correct hidden fields.
For some reason my rails app is acting as if the params are not being passed at all, even though I see them in the iframe code.
Is this in production or the turk sandbox?
Production. I think it has something to do with the iframe in Mturk. If I just pass the params in the URL and view the page directly the correct hidden fields are created. Then again it could be something else.
Got it working! The issue was that my form is two pages (multi-step form). When Turk loads the first page, the params are in the URL, but when I step through to the second page those params are lost. All I had to do was pass the params through and it worked.
Using turkee_form_for(@model, params) as in the instructions
Turkers get this error:
Neither the assignmentId, hit_id, or worker_id, is present in the form when I test it with a live HIT. Why could this be?