[ZPT] Problem sending value through radio button
Tino Wildenhain
tino at wildenhain.de
Tue Mar 23 00:41:47 EST 2004
Nguyen, Joe wrote:
> Hi,
>
>
>
> I hope I’m posting this in the correct mail-list.
>
> My code:
>
>
>
> <H2>EXAM SELECTION</H2>
>
> <FORM ACTION="http://.... edit_exam_questions">
>
> Click on the corresponding exam you would like to edit.<P>
>
>
>
> * <div tal:repeat = "testName
> context/exam_edit/exam_edit_scripts/retrieveExams">*
>
> * <INPUT TYPE=RADIO NAME="exam" VALUE=container.testName>*
>
> * <span tal:content="testName"></span>*
>
> * </div>*
>
> <INPUT TYPE=SUBMIT VALUE="submit">
>
> </FORM>
>
>
>
> I am trying to send the value of “testName” to the next page. When I
> send it, all I get is the string “container.testName”
>
>
>
> I try to display the value in "http://.... edit_exam_questions” this way.
>
> <H2 tal:content="python:context.REQUEST.get('exam')"></H2>
>
>
>
> I’ve been racking my brains for days. Any suggestions would be greatly
> appreciated. Thank you very much.
>
You use <input type="radio" name="exam" tal:attributes="value
container/testName" />
Regards
Tino Wildenhain
More information about the ZPT
mailing list