registration form

Author Message

justin kazadi

Saturday 06 June 2009 3:50:46 am

Hi,

on my web site i have an problem on the register form (user/register). i don't see the error message when some fields is empty but all the field on the user content are required.

on my register form i have this code for the validation process:

{if and( and( is_set( $checkErrNodeId ), $checkErrNodeId ), eq( $checkErrNodeId, true() ) )}
      message-error
    <div class="message-error">
        <h2><span class="time">[{currentdate()|l10n( shortdatetime )}]</span> {$errMsg}</h2>
    </div>
{/if}

{if $validation.processed}
validation process<br />
    {if $validation.attributes|count|gt(0)}
     validation process<br />
        <div class="warning">
        <h2>{"Input did not validate"|i18n("design/ezwebin/user/register")}</h2>
        <ul>
        {foreach $validation.attributes as $attribute}
            <li>{$attribute.name}: {$attribute.description}</li>
        {/foreach}
        </ul>
        </div>
    {else}
        <div class="feedback">
        <h2>{"Input was stored successfully"|i18n("design/ezwebin/user/register")}</h2>
        </div>
    {/if}

{/if}

and in the Back office i see some instance of the user content class who some fields are empty , but the field are required on the definition of user content class.

i don't understand why it don't works but before one week it work very good.

could somebody help me?

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

Jean-Luc Nguyen

Monday 08 June 2009 1:56:59 am

Hello,

I don't know if this post is related to your question:
http://ez.no/developer/forum/general/some_subscriptions_are_empty

http://www.acidre.com

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.