Hi,

> Hi, I still got problems after I changed my code according to your 
> suggestion. Here is the detail describtion of my code:
> In registration form, I have a table which contain a field usr_email 
>      (<tr>
>         <td width="40%" align="right">Email Address&nbsp; </td>
>         <td width="60%"><input type="text" name="usr_email" size="20"></td>
>       </tr>)
>       
> This form takes an action in which I have following lines:
> <dtml-if search_membership>
> <p>Your email address has been used. </p>
> <dtml-else>
> <dtml-call personinfo_insert>
> <h2>Welcome <dtml-var name="usr_fname">! You became a new user.</h2> 
> </dtml-if>

Does it work, if you use the <dtml-in><dtml-else></dtml-in> construct
as follows:
<dtml-in search_membership size=1>
    <p>Your email address has been used. </p>
<dtml-else>
    <dtml-call personinfo_insert>
    <h2>Welcome <dtml-var name="usr_fname">! You became a new
    user.</h2> 
</dtml-in>

If not, are you sure you inserted usr_email into the "Arguments"-field
of your sql-Method?

Robert
-- 
Robert Wohlfahrt ([EMAIL PROTECTED])
Tel: 0179 / 2980074 Fax: 0351 / 2880145

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to