[Zope-DB] Creating Forms

Laura McCord Laura.McCord at doucet-austin.com
Tue Apr 27 16:29:37 EDT 2004


Will formulator work with existing Z SQL Method Queries that I have
already created. Plus, I am using an mxODBC connection with a sql server
database. Are these acceptable to use with formaulator?

Thanks,
 Laura


-----Original Message-----
From: Andrius Armonas [mailto:baubas at andrius.org] 
Sent: Tuesday, April 27, 2004 3:26 PM
To: Laura McCord
Subject: Re: [Zope-DB] Creating Forms


http://zope.org/Members/infrae/Formulator

Andrius

Laura McCord wrote:

> How do I get formulator?
> 
> -----Original Message-----
> From: Andrius Armonas [mailto:baubas at andrius.org]
> Sent: Tuesday, April 27, 2004 3:16 PM
> To: Laura McCord
> Subject: Re: [Zope-DB] Creating Forms
> 
> 
> Hi,
> 
> try using Formulator for creating forms - you will build up your forms
> much faster and you will solve most problems when creating forms.
> 
> Andrius
> 
> Laura McCord wrote:
> 
>>I am a newbie at creating forms, I only know the basics. What I need
>>to do is the following:
>>
>>I have a list of users:
>>
>>1 jane jane at blah.com  texas 
>>2 jim  jim at blah.com   california
>>3 jill jill at blah.com  florida
>>
>>I want the user's name (Example, Jill) to be linkable to an edit form
>>but I want the edit form to be pre-populated with the user's 
>>information. Does anyone have any ideas on how to do this? I am using 
>>the 'Z Search Interface' to display all of the users.
>>
>>So, perhaps in this block of code the link can be created. But, I
>>don't know what to  include to send the user information to the edit 
>>form to pre-populate the form fields.
>>
>><div tal:repeat="result batch" >
>>  
>>         <tr>
>>          <td><span tal:replace="result/userid" >userid</span></td>
>>          <td><span tal:replace="result/username">username</span></td>
>>
>>          <td><span tal:replace="result/useremail">useremail goes
>>here</span></td>
>>          <td><span tal:replace="result/useroffice">useroffice goes 
>>here</span></td>
>>          <td><span tal:replace="result/userpwd">userpwd goes 
>>here</span></td>
>>          <td><span tal:replace="result/userpwdchg">userpwdchg goes 
>>here</span></td>
>>          <td><span tal:replace="result/pcname">pcname goes 
>>here</span></td>
>>          <td><span><a href="userEdit_Form" 
>>name=username>[edit]</a></span>
>>        </tr>
>> </div>
>>
>>Thanks,
>> Laura
>>
>>_______________________________________________
>>Zope-DB mailing list
>>Zope-DB at zope.org http://mail.zope.org/mailman/listinfo/zope-db
> 
> 





More information about the Zope-DB mailing list