I have the following in my validation.xml file.  I want to set the <arg0> value to a 
parameter that was passed in via a POSTed form.  If someone enters an invalid email, 
I'd like to say "[EMAIL PROTECTED] is an invalid email address." 
 Is this possible?

                <form name="registrationForm">
                        <field property="email"
                                        depends="required,email">
                                <arg0   key="registrationForm.email" resource="false" 
/>
                        </field>
                        <field property="password"
                                        depends="required">
                                <arg0   key="prompt.password" />
                        </field>
                        <field property="password2"
                                        depends="required">
                                <arg0   key="prompt.password2" />
                        </field>
                        <field property="fullName"
                                        depends="required">
                                <arg0   key="prompt.fullName" />
                        </field>
                 </form>

__________________________________________________
Michael Blake Day
Nextel Communications, Inc.
email: [EMAIL PROTECTED]
desk: 678.966.4792 


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

Reply via email to