<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Forms with values in TurboGears</title>
	<atom:link href="http://untidy.net/blog/2006/03/02/turbogears-form-values/feed/" rel="self" type="application/rss+xml" />
	<link>http://untidy.net/blog/2006/03/02/turbogears-form-values/</link>
	<description>simon steele writes about stuff...</description>
	<lastBuildDate>Tue, 11 May 2010 21:29:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Slava</title>
		<link>http://untidy.net/blog/2006/03/02/turbogears-form-values/comment-page-1/#comment-18448</link>
		<dc:creator>Slava</dc:creator>
		<pubDate>Wed, 17 Oct 2007 21:46:30 +0000</pubDate>
		<guid isPermaLink="false">http://untidy.net/blog/2006/03/02/turbogears-form-values/#comment-18448</guid>
		<description>Works great. Thanks.

I was wondering if anyone know how to create custom form layout?

So if my controller contains:
class SomeFields(widgets.WidgetsDeclaration):
    name = widgets.TextField(validator=validators.NotEmpty)
    email = widgets.TextField(validator=validators.Email())

the_form = widgets.TableForm(fields=SomeFields(), submit_text=&quot;Post&quot;)


and in my template i would want to do something like:

form.name
form.email

How would i do it? 

Thanks for your time!</description>
		<content:encoded><![CDATA[<p>Works great. Thanks.</p>
<p>I was wondering if anyone know how to create custom form layout?</p>
<p>So if my controller contains:<br />
class SomeFields(widgets.WidgetsDeclaration):<br />
    name = widgets.TextField(validator=validators.NotEmpty)<br />
    email = widgets.TextField(validator=validators.Email())</p>
<p>the_form = widgets.TableForm(fields=SomeFields(), submit_text=&#8221;Post&#8221;)</p>
<p>and in my template i would want to do something like:</p>
<p>form.name<br />
form.email</p>
<p>How would i do it? </p>
<p>Thanks for your time!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: the dwsmall</title>
		<link>http://untidy.net/blog/2006/03/02/turbogears-form-values/comment-page-1/#comment-15664</link>
		<dc:creator>the dwsmall</dc:creator>
		<pubDate>Wed, 18 Jul 2007 11:53:19 +0000</pubDate>
		<guid isPermaLink="false">http://untidy.net/blog/2006/03/02/turbogears-form-values/#comment-15664</guid>
		<description>The ability to pre-populate columns in tg based on table structures is a widget which is definitely needed.  
1) Read table columns and defined attributes from sqlObject.
2) Create Form Fields based on attributes
3) Setup a config file where user can change attributes to form field values...</description>
		<content:encoded><![CDATA[<p>The ability to pre-populate columns in tg based on table structures is a widget which is definitely needed.<br />
1) Read table columns and defined attributes from sqlObject.<br />
2) Create Form Fields based on attributes<br />
3) Setup a config file where user can change attributes to form field values&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evan</title>
		<link>http://untidy.net/blog/2006/03/02/turbogears-form-values/comment-page-1/#comment-1829</link>
		<dc:creator>Evan</dc:creator>
		<pubDate>Fri, 24 Mar 2006 03:17:35 +0000</pubDate>
		<guid isPermaLink="false">http://untidy.net/blog/2006/03/02/turbogears-form-values/#comment-1829</guid>
		<description>I was trying to figure out how to do this earier today. This works great; thanks!</description>
		<content:encoded><![CDATA[<p>I was trying to figure out how to do this earier today. This works great; thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: maram</title>
		<link>http://untidy.net/blog/2006/03/02/turbogears-form-values/comment-page-1/#comment-1626</link>
		<dc:creator>maram</dc:creator>
		<pubDate>Mon, 06 Mar 2006 19:14:10 +0000</pubDate>
		<guid isPermaLink="false">http://untidy.net/blog/2006/03/02/turbogears-form-values/#comment-1626</guid>
		<description>como podria poner los campos en columnas?
si es que se puede...

ejemplo:

name  _________   email____________



y mas de un boton para submit?</description>
		<content:encoded><![CDATA[<p>como podria poner los campos en columnas?<br />
si es que se puede&#8230;</p>
<p>ejemplo:</p>
<p>name  _________   email____________</p>
<p>y mas de un boton para submit?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
