Invoking user input within a custom action

Invoking user input within a custom action

Hi,

I'm a newbie and am struggling with how to approach this. I have two custom actions in a view - Pass and Fail. An example of pass is as follows:

void test.PassTest(int id)
{
    rec  =  Testing  [ID == input.id];
    rec.Outcome = "Pass";
}

What I would like to do is when this button is pressed in the view the function prompts the user for one or more additional fields. I have created a stateless form but cannot see how to invoke it or pass the values from the form back. Is anyone able to provide some help as I am completely stuck!

Thanks,

Andy