<P>Hi,</P>
<P>I want to use formulator for designing my forms. However it does not allow more than one field to be presented in the same row (a requirement for my form). </P>
<P>I am using the example from this URL <BR><A href="http://www.zope.org/Members/beno/HowTo/HowTo/Formulator_With_ZPT">http://www.zope.org/Members/beno/HowTo/HowTo/Formulator_With_ZPT</A></P>
<P>The difficulty I am facing is that the sample code uses:</P>
<P>&nbsp;&lt;tr tal:define="yourname request/YourName|nothing"&gt;<BR>&nbsp;&nbsp; &lt;th align="left"&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;font size=5&gt;&lt;font face="verdana"&gt;&lt;b&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; Your Name:<BR>&nbsp;&nbsp;&nbsp; &lt;/b&gt;&lt;/font&gt;&lt;/font&gt;<BR>&nbsp;&nbsp; &lt;/th&gt;<BR>&nbsp;&nbsp; &lt;td&gt;&lt;input type="text" name="YourName"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tal:replace="structure python:form.YourName.render(yourname)" /&gt;<BR>&nbsp;&nbsp; &lt;/td&gt;<BR>&lt;/tr&gt;</P>
<P>for each row. To&nbsp; make 2 fields appear in the same row, i am trying to do this:</P>
<P>&nbsp;<BR>&nbsp;&lt;tr &gt;<BR>&nbsp;&nbsp; &lt;th align="left"&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;font size=5&gt;&lt;font face="verdana"&gt;&lt;b&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; Your Name:<BR>&nbsp;&nbsp;&nbsp; &lt;/b&gt;&lt;/font&gt;&lt;/font&gt;<BR>&nbsp;&nbsp; &lt;/th&gt;<BR>&nbsp;&nbsp; &lt;td tal:define="yourname request/YourName|nothing"&gt;&lt;input type="text" name="YourName"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tal:replace="structure python:form.YourName.render(yourname)" /&gt;<BR>&nbsp;&nbsp; &lt;/td&gt;</P>
<P>&lt;td tal:define="youremail request/YourEmail|nothing"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;font size=5&gt;&lt;font face="verdana"&gt;&lt;b&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp; Your Email Address:<BR>&nbsp;&nbsp;&nbsp; &lt;/b&gt;&lt;/font&gt;&lt;/font&gt;<BR>&nbsp;&nbsp; &lt;/td&gt;</P>
<P>&nbsp;&nbsp; &lt;td&gt;&lt;input type="text" name="YourEmail"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tal:replace="structure python:form.YourEmail.render(youremail)"&gt;<BR>&nbsp;&nbsp; &lt;/td&gt;<BR>&nbsp;&lt;/tr&gt;</P>
<P>However I am getting errors <BR>Error Type NameError<BR>Error Value name 'youremail' is not defined</P>
<P>Can you please help me resolve this.</P>
<P>Thanks<BR>Pradeep</P><p><hr SIZE=1>
Do you Yahoo!?<br>
Free <a href="http://us.rd.yahoo.com/mail_us/tag/*http://calendar.yahoo.com">online calendar</a> with sync to Outlook(TM).