Displaying Form Block from a Stack on Single Page

Permalink
I'm using a drop down to let a user select from a list of form blocks. Once that choice is submitted, the page reloads and displays a block from a custom stack



Block::getByID($_GET["formid"])->display();

The block displays perfectly. Looks great. But submitting the form does absolutely nothing. Any guesses as to what I'm doing wrong here?

 
eblackstone replied on at Permalink Reply
Quick update: I think I've narrowed the issue down to the stackID being incorrectly returned when building the HTML form...

If I add the block (via the stack) through the Concrete5 interface, I get the correct stackID. If I add it via php, it is literally a single digit higher. I have no idea why this is happening.