Forums / Developer / Error Message

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Error Message

Author Message

justin kazadi

Tuesday 21 April 2009 6:37:44 am

Hi,
i have an register form but i want to display the error message on the line where the error was produced. in the register.tpl i see this code :

{section show=$validation.processed}

    {section name=UnvalidatedAttributes loop=$validation.attributes show=$validation.attributes}
        <div class="warning">
        <h2>{"Input did not validate"|i18n("design/standard/user")}</h2>
        <ul>
        <li>{$UnvalidatedAttributes:item.name}: {$UnvalidatedAttributes:item.description}</li>
        </ul>
        </div>
    {section-else}
        <div class="feedback">
        <h2>{"Input was stored successfully"|i18n("design/standard/user")}</h2>
        </div>
    {/section}

{/section}

but i don't know how to control it by displaying the error on the line where the error was produced .

think in advance

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