Form submission error in hard coded stack

Permalink
Concrete Version: 5.5.2, downloaded from github 4/13/12
Browser: latest Firefox and latest Chromium
OS: Ubuntu 11.10

I created a stack called Contact Us. I'm including it in a template like this:

<?php
$stack = Stack::getByName('Contact Us');
$stack->display();
?>


I added the Form block to the Contact Us stack. The stack displays correctly on the front end, but when I submit the form I get the following error:

Oops, something is wrong with the form you posted (it doesn't have a question set id).


When I inspect the form, I see that this is true:

<input type="hidden" value="" name="qsID">
<input type="hidden" value="" name="pURI">


If I add that same Contact Us stack via in-context editing, the form submits as expected with no errors. When I inspect the form, the hidden inputs have values:

<input type="hidden" value="1334790080" name="qsID">
<input type="hidden" value="/" name="pURI">


Perhaps this is a bug?

 
likesalmon replied on at Permalink Best Answer Reply
Wellllll crap. Nevermind! I had a script that was adding default values to the form inputs. My selectors weren't specific enough and it was stripping the values from the hidden inputs.

*Skulks away with egg on his face*