Hi all,

Is it possible to supply the msg element with the value the user entered
in the form as the content of the arg element? 

My key errors.login.email.invalid is: {0} is an invalid email address
So when a user enters 'foo' as an email adres I want an error message
saying: 'foo is an invalid email address'

Is this possible? Here is the code:

    <form name="MailPasswordForm">
      <field property="email" depends="required,email">
        <msg name="required" key="errors.login.email.required"/>
        <msg name="email" key="errors.login.email.invalid"/>
        <arg0 name="email" key="email"/>
      </field>
    </form>

Thanks and regards,

Jeroen

--

X-Hive Corporation
e-mail: [EMAIL PROTECTED]
phone: +31 10 2818080
http://www.x-hive.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to